summaryrefslogtreecommitdiffstats
path: root/pkg/commands/os.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-09-01 12:22:33 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-09-01 12:53:51 +1000
commit04d5a473d758090b0f65af5520e91bc7924648a1 (patch)
tree101561dc17876e94389b7bce36f5a55ea8a747c0 /pkg/commands/os.go
parentf127ae62bb67e86360a1a38971fef7e8e53cb5b9 (diff)
use start instead of cygstart to open files on windows
Diffstat (limited to 'pkg/commands/os.go')
-rw-r--r--pkg/commands/os.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/os.go b/pkg/commands/os.go
index c3574f98e..680105df8 100644
--- a/pkg/commands/os.go
+++ b/pkg/commands/os.go
@@ -111,7 +111,7 @@ func (c *OSCommand) OpenFile(filename string) error {
}
command := utils.ResolvePlaceholderString(commandTemplate, templateValues)
- _, err := c.RunDirectCommand(command)
+ err := c.RunCommand(command)
return err
}