Migrating `Deno.run` to `Deno.command` with `readlines`
I had the following:
Now i'm wondering what the best way to do this with
Now i'm wondering what the best way to do this with
Deno.command is?Deno.command browserProcess = Deno.run({
cmd: buildArgs, // eg chrome exe path, then options
stderr: "piped",
stdout: "piped",
});
for await (const line of readLines(browserProcess.stderr!)) {