Correct syntax of commands from command_local.cc

Andrew Fecheyr
2016-11-02 22:22:36 +01:00
parent a7af2dca1e
commit 567e4088f6
+3 -3
@@ -7,17 +7,17 @@ execute={command,arg1,arg2,...}
This will execute the external command with arguments arg1,arg2,.... It will throw an error if the exit status is not 0, and return 0 itself otherwise.
```
execute_nothrow={command,arg1,arg2,...}
execute.nothrow={command,arg1,arg2,...}
```
This will execute the external command with arguments arg1,arg2,.... It will return the return value of the command.
```
execute_capture={command,arg1,arg2,...}
execute.capture={command,arg1,arg2,...}
```
This will execute the external command with arguments arg1,arg2,.... It will throw an error if the exit status is not 0, and return the stdout output of the command otherwise.
```
execute_capture_nothrow={command,arg1,arg2,...}
execute.capture_nothrow={command,arg1,arg2,...}
```
This will execute the external command with arguments arg1,arg2,.... It will return the stdout output of the command.