@hatch:proc v0.3.1
Subprocess spawn with lifecycle, streaming IO (blocking + fiber-cooperative), and pipelines.
$
hatch add @hatch:proc
Subprocess spawn with lifecycle, streaming IO (blocking + fiber-cooperative), and pipelines.
Result.new_(code, stdout, stderr, timedOut)
Result.code
Result.stdout
Result.stderr
Result.timedOut
Result.ok
Result.toString
Result.static from_(raw)
Process.from_(id)
Process.id
Process.pid
Process.alive
Process.tryWait
Process.wait
Process.kill
Process.forget
Process.closeStdin
Process.stdoutReader
Process.stderrReader
Process.stdoutAsync
Process.stderrAsync
Process.stdinWriter
Process.toString
Process.writeStdin(data)
Proc.static run(argv)
Proc.static run(argv, options)
Proc.static exec(argv)
Proc.static exec(argv, options)
Proc.static shell(cmd)
Proc.static shell(cmd, options)
Proc.static check(argv)
Proc.static check(argv, options)
Pipeline.new_(processes)
Pipeline.processes
Pipeline.wait
Pipeline.kill
Pipeline.toString
Pipeline.static of(stages)