import { run } from "https://deno.land/x/deno@v0.28.0/cli/js/deno.ts";
Spawns new subprocess.
Subprocess uses same working directory as parent process unless opt.cwd
is specified.
Environmental variables for subprocess can be specified using opt.env
mapping.
By default subprocess inherits stdio of parent process. To change that
opt.stdout
, opt.stderr
and opt.stdin
can be specified independently -
they can be set to either ProcessStdio
or rid
of open file.
Parameters
opt: RunOptions