You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
structure changes
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
"os/exec"
|
||||
)
|
||||
|
||||
// RunCommand executes an external command
|
||||
// Run executes an external command
|
||||
func Run(command string, args []string, path string) error {
|
||||
cmd := exec.Command(command, args...)
|
||||
cmd.Dir = path
|
||||
|
||||
Reference in New Issue
Block a user