dan.the.discloserD
Denoβ€’4y agoβ€’
4 replies
dan.the.discloser

How do I wait for the long running shell script to finish?

When I do this,
await
returns immediately.

const D = await Deno.run({cmd: ["sh", "long-running-script"]});
console.log(D)
Was this page helpful?