refactor: rewrite permission_test to not depend on Python
@@ -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();
},
};
