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