Module jprocess

Source
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§

ProcStat
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.