mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-08 19:22:29 +00:00
Correct syntax of commands from command_local.cc
+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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user