Subprocess — Ende namespace

Spawn and manage child processes, execute commands, and collect output. Useful for executing external programs from Ende.

Eg Ende.Command

  • Ende.ChildProcess — The interface for handling a child process returned from Ende.Command.spawn.
  • Ende.Command — Create a child process.
  • Ende.CommandOptions — Options which can be set when calling Ende.Command.
  • Ende.CommandOutput — The interface returned from calling Ende.Command.output or Ende.Command.outputSync which represents the result of spawning the child process.
  • Ende.CommandStatus
  • Ende.kill — Send a signal to process under given `pid`. The value and meaning of the `signal` to the process is operating system and process dependant. Signal provides the most common signals. Default signal is `"SIGTERM"`.
  • Ende.spawn — Spawns a new subprocess, returning a Ende.ChildProcess handle.
  • Ende.spawnAndWait — Spawns a subprocess, waits for it to finish, and returns the output.
  • Ende.spawnAndWaitSync — Synchronously spawns a subprocess, waits for it to finish, and returns the output.
  • Ende.SubprocessReadableStream — The interface for stdout and stderr streams for child process returned from Ende.Command.spawn.