pykot/process

Search:
Group by:

Working with processes, e.g. launch an external command.

Procs

proc execute_command(cmd: string; debug = true): int {....raises: [],
    tags: [ExecIOEffect, ReadIOEffect, RootEffect], forbids: [].}
Execute a simple external command and return its exit status.
proc get_simple_cmd_output(cmd: string; right_strip: bool = false): string {.
    ...raises: [OSError, IOError], tags: [ExecIOEffect, ReadIOEffect, RootEffect],
    forbids: [].}
Execute a simple external command and return its output.