Expand description
§process
Working with external commands.
- call an external command and get its exit code, stdout, and stderr
- call an external command (and see its output on the stdout)
Structs§
- Proc
Stat - Stores process information: exit code, stdout, stderr.
Functions§
- exec_
cmd - Executes an external command and waits for it to complete.
- exec_
cmd_ in_ bg - Executes an external command in the background (i.e., it doesn’t wait for it to complete).
- get_
exitcode_ stdout_ stderr - Executes an external command and gets its exit code, stdout and stderr.