1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 15:49:44 -05:00

refactor: rewrite permission_test to not depend on Python (#8291)

This commit is contained in:
Mo 2020-11-08 12:50:27 +02:00 committed by GitHub
parent e9edc05bed
commit ccc95bc9b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
},
};