diff options
-rw-r--r-- | cli/tests/permission_test.ts | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/cli/tests/permission_test.ts b/cli/tests/permission_test.ts index f42983630..420dc05ca 100644 --- a/cli/tests/permission_test.ts +++ b/cli/tests/permission_test.ts @@ -16,13 +16,10 @@ const test: { [key: string]: (...args: any[]) => void | Promise<void> } = { Deno.listen({ transport: "tcp", port: 4541 }); }, runRequired(): void { - Deno.run({ - cmd: [ - "python", - "-c", - "import sys; sys.stdout.write('hello'); sys.stdout.flush()", - ], + const p = Deno.run({ + cmd: ["printf", "hello"], }); + p.close(); }, }; |