Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.21 KB

process.md

File metadata and controls

54 lines (37 loc) · 1.21 KB

Process

{id: process}

Execute external program (system)

{id: execute-external-program-system} {i: system}

Execute external program (backtick)

{id: execute-external-program-backtick} {i: `} {i: $?} {i: success?}

Execute external program (Process)

{id: execute-external-program-process} {i: exit} {i: exit_code} {i: exit_status}

Execute external program (capture)

{id: execute-external-program-capture}

Execute external program (capture)

{id: execute-external-program-capture2}

Abort

{id: abort} {i: abort}

{aside} abort is the combination of printing to the STDERR and calling exit with an exit code. {/aside}

  • abort prints a message to STDERR and exit with exit code 1 (see $? or %ERROR_LEVEL%)
  • Optionally we can supply the exit code as well.