diff options
| author | Mitch Riedstra <Mitch@riedstra.us> | 2017-01-16 17:40:27 -0500 |
|---|---|---|
| committer | Mitch Riedstra <Mitch@riedstra.us> | 2017-01-16 17:40:27 -0500 |
| commit | bd0f5a14ed571fab5dba176a1e9c9c1a9d5b2a2c (patch) | |
| tree | 600ff527fc34bcd11ed84cf92447a8d81143e7b4 | |
| parent | 5078083aa80279724f834305ca52946c7114b2ca (diff) | |
| download | steam-export-bd0f5a14ed571fab5dba176a1e9c9c1a9d5b2a2c.tar.gz steam-export-bd0f5a14ed571fab5dba176a1e9c9c1a9d5b2a2c.tar.xz | |
Make command line applications work. Make it build on Unix
| -rw-r--r-- | config/config.go | 3 | ||||
| -rw-r--r-- | config/config_unix.go | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/config/config.go b/config/config.go index c63a0bc..839acbf 100644 --- a/config/config.go +++ b/config/config.go @@ -78,6 +78,9 @@ func EditDefaultConfig(e string) error { return err } c := exec.Command(editor, fn) + c.Stdout = os.Stdout + c.Stdin = os.Stdin + c.Stderr = os.Stderr return c.Run() } cmd := exec.Command(editor, configFilename) diff --git a/config/config_unix.go b/config/config_unix.go index 8f77235..8be1967 100644 --- a/config/config_unix.go +++ b/config/config_unix.go @@ -4,7 +4,6 @@ package config import ( "os" - "os/exec" "path/filepath" ) |
