Simple run
function to execute shell commands in Deno.
Returns a Promise of what the command printed. Rejects with status if the command fails.
Requires Deno v1.46.3 or later. Version 2+ is recommended.
Please see docs on jsr.io/@hugojosefson/run-simple.
"@@include(./install.sh)";
"@@include(./example-usage.ts)";
You may run the above example with:
deno run --allow-run ./example-usage.ts
Or directly from here:
deno run --allow-run --reload jsr:@hugojosefson/run-simple/example-usage