summaryrefslogtreecommitdiff
path: root/tools/wpt/runner.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/wpt/runner.ts')
-rw-r--r--tools/wpt/runner.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/wpt/runner.ts b/tools/wpt/runner.ts
index 269e6ffd1..517ce42b5 100644
--- a/tools/wpt/runner.ts
+++ b/tools/wpt/runner.ts
@@ -107,14 +107,14 @@ export async function runSingleTest(
"[]",
);
- const proc = Deno.spawnChild(denoBinary(), {
+ const proc = new Deno.Command(denoBinary(), {
args,
env: {
NO_COLOR: "1",
},
stdout: "null",
stderr: "piped",
- });
+ }).spawn();
const cases = [];
let stderr = "";