blob: 0eb79dcc253ffc3bde17b195fdff79008b2466ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
try {
await Deno.spawn("ls");
} catch (e) {
console.log(e);
}
const { status } = await Deno.spawn("curl", {
args: ["--help"],
stdout: "null",
stderr: "inherit",
});
console.log(status.success);
|