summaryrefslogtreecommitdiffstats
path: root/pkg/commands
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-08-14 08:33:40 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-08-14 08:33:40 +1000
commit047892962a8f4f2f5acfb5e16ec9a14415316308 (patch)
tree7850b508e3ffbde1c004aca28293c78699e3bc53 /pkg/commands
parentd4f4b46a1f3a0d5aa2f430be931874dedc715ee2 (diff)
centralise subprocess code to gui.go
Diffstat (limited to 'pkg/commands')
-rw-r--r--pkg/commands/os.go4
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
}