Changed Os.WINDOWS to no longer include Cygwin, MinGW or MSYS.
This commit is contained in:
parent
6530e8f7be
commit
43d55803a9
3 changed files with 37 additions and 14 deletions
|
@ -84,9 +84,11 @@ Name | Operating System
|
|||
`Os.OS400` | OS/400
|
||||
`Os.SOLARIS` | Solaris / SunOS
|
||||
`Os.TANDEM` | Tandem's Non-Stop
|
||||
`Os.WINDOWS` | Microsoft Windows
|
||||
`Os.WINDOWS` | Microsoft Windows*
|
||||
`Os.ZOS` | z/OS / OS/390
|
||||
|
||||
<sub>* Not including Cygwin, MinGW or MSYS.</sub>
|
||||
|
||||
```kotlin
|
||||
exec {
|
||||
commandLine("cmd", "/c", "stop.cmd", os = setOf(Os.WINDOWS))
|
||||
|
@ -135,7 +137,7 @@ exec {
|
|||
}
|
||||
```
|
||||
|
||||
```shell
|
||||
```sh
|
||||
./kobaltw start
|
||||
./kobaltw stop
|
||||
```
|
||||
|
@ -155,6 +157,7 @@ exec {
|
|||
## Logging / Debugging
|
||||
|
||||
To view the output of the `exec` task, use:
|
||||
|
||||
```sh
|
||||
./kobaltw exec --log 2
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue