diff options
-rw-r--r-- | cli/tests/permission_test.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/tests/permission_test.ts b/cli/tests/permission_test.ts index 420dc05ca..ac42b7d69 100644 --- a/cli/tests/permission_test.ts +++ b/cli/tests/permission_test.ts @@ -17,7 +17,9 @@ const test: { [key: string]: (...args: any[]) => void | Promise<void> } = { }, runRequired(): void { const p = Deno.run({ - cmd: ["printf", "hello"], + cmd: Deno.build.os === "windows" + ? ["cmd.exe", "/c", "echo hello"] + : ["printf", "hello"], }); p.close(); }, |