diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-14 08:33:40 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-14 08:33:40 +1000 |
commit | 047892962a8f4f2f5acfb5e16ec9a14415316308 (patch) | |
tree | 7850b508e3ffbde1c004aca28293c78699e3bc53 /pkg/commands/os.go | |
parent | d4f4b46a1f3a0d5aa2f430be931874dedc715ee2 (diff) |
centralise subprocess code to gui.go
Diffstat (limited to 'pkg/commands/os.go')
-rw-r--r-- | pkg/commands/os.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/commands/os.go b/pkg/commands/os.go index 3be1e1288..14a3721ad 100644 --- a/pkg/commands/os.go +++ b/pkg/commands/os.go @@ -153,9 +153,5 @@ func (c *OSCommand) EditFile(filename string) (*exec.Cmd, error) { // PrepareSubProcess iniPrepareSubProcessrocess then tells the Gui to switch to it func (c *OSCommand) PrepareSubProcess(cmdName string, commandArgs ...string) (*exec.Cmd, error) { subprocess := exec.Command(cmdName, commandArgs...) - subprocess.Stdin = os.Stdin - subprocess.Stdout = os.Stdout - subprocess.Stderr = os.Stderr - return subprocess, nil } |