ys::ipc - The YS Process Library🔗
Process functions are available only after explicitly using ys::ipc.
use ipc: :all
output =: sh-out('printf hello')
exec(Opts? Cmd Str*) → Result— Replace the current processprocess(Opts? Cmd Str*) → Result— Start a processsh(Opts? Cmd Str*) → Result— Run a command and return its resultshell(Opts? Cmd Str*) → Result— Run a command through a shellsh-out(Opts? Cmd Str*) → Str— Run a command and return stdoutbash(Opts? Cmd Str*) → Result— Run a command through bashbash-out(Opts? Cmd Str*) → Str— Run bash and return stdout
The optional mapping accepts :in, :out, :err, :dir, and :env.