summaryrefslogtreecommitdiff
path: root/tests/testdata/run/089_run_allow_list.ts
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);