Command runner

[system/Command runner]


Runs the received command string with the received options. Sends stdout, stderr and optionally error message when the process finished. Bounces command and options when the node is already in the state of executing a command.


Input ports

  • command: string

  • options: {"cwd": string, "env": {string: string}}

Output ports

  • stdout: string

  • stderr: string

  • error: (string or null)

    Null on success.

  • on busy:

    {"command": string, "options": {"cwd": string, "env": {string: string}}}

    The received command and options when the node is still executing another command.

  • bounced: any

Last updated