diff options
Diffstat (limited to 'unix.go')
| -rw-r--r-- | unix.go | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -124,11 +124,6 @@ func runCmd(path string, parts []string) (error, bool, string) { return RunCmd(fulldir, parts) } -func RunCmdNew(workingpath string, parts []string) (error, bool, string) { - time.Sleep(10 * time.Second) - return RunCmd(workingpath, parts) -} - func RunCmd(workingpath string, parts []string) (error, bool, string) { if len(parts) == 0 { log.Warn("command line was empty") @@ -142,9 +137,6 @@ func RunCmd(workingpath string, parts []string) (error, bool, string) { parts = parts[1:] log.Warn("working path =", workingpath, "thing =", thing, "cmdline =", parts) - if thing == "pwd" { - os.Exit(-1) - } // Create the command cmd := exec.Command(thing, parts...) |
