diff options
author | Anthony HAMON <anthony.hamon@iadvize.com> | 2018-08-21 21:48:09 +0200 |
---|---|---|
committer | Anthony HAMON <anthony.hamon@iadvize.com> | 2018-08-26 01:58:19 +0200 |
commit | 32f4d09e895411216be3b42a66c9e3a424658acd (patch) | |
tree | 27e1538018d7c662a7a03facba7fae52f97de673 /pkg/commands/os_windows.go | |
parent | a5adfaee8ab29afd7aab434a3cf0a9d7e41f8879 (diff) |
move platform specific code to dedicated platform files
Diffstat (limited to 'pkg/commands/os_windows.go')
-rw-r--r-- | pkg/commands/os_windows.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/commands/os_windows.go b/pkg/commands/os_windows.go new file mode 100644 index 000000000..28dd7a982 --- /dev/null +++ b/pkg/commands/os_windows.go @@ -0,0 +1,10 @@ +package commands + +func getPlatform() *Platform { + return &Platform{ + os: "windows", + shell: "cmd", + shellArg: "/c", + escapedQuote: "\\\"", + } +} |