diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-09-01 13:28:10 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-09-01 13:28:10 +1000 |
commit | ad880e2d56cd9ab3841dd077d47979202c509460 (patch) | |
tree | e025934d2ed180e4f530034d488342ee65e789cb /pkg/commands/os_windows.go | |
parent | 865809e625330d672f428630d1faae2968b6b7b1 (diff) |
wrap windows start command in shell
Diffstat (limited to 'pkg/commands/os_windows.go')
-rw-r--r-- | pkg/commands/os_windows.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkg/commands/os_windows.go b/pkg/commands/os_windows.go index f41c6d2b9..51ad401cd 100644 --- a/pkg/commands/os_windows.go +++ b/pkg/commands/os_windows.go @@ -5,7 +5,6 @@ func getPlatform() *Platform { os: "windows", shell: "cmd", shellArg: "/c", - escapedQuote: "\\\"", - openCommand: "start {{filename}}", - } -} + escapedQuote: `\"`, + openCommand: `cmd /c "start "" {{filename}}"`, +}} |