mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
12 lines
189 B
TypeScript
12 lines
189 B
TypeScript
|
export async function runEcho() {
|
||
|
const p = Deno.run({
|
||
|
cmd: [
|
||
|
Deno.execPath(),
|
||
|
"eval",
|
||
|
"console.log('hello world')",
|
||
|
],
|
||
|
});
|
||
|
await p.status();
|
||
|
p.close();
|
||
|
}
|