Ed, Edd n EddyE
Denoβ€’3y agoβ€’
20 replies
Ed, Edd n Eddy

Migrating `Deno.run` to `Deno.command` with `readlines`

I had the following:

 browserProcess = Deno.run({
  cmd: buildArgs, // eg chrome exe path, then options
  stderr: "piped",
  stdout: "piped",
});
for await (const line of readLines(browserProcess.stderr!)) {


Now i'm wondering what the best way to do this with Deno.command is?
Was this page helpful?