mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 10:07:54 -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();
|
||
|
}
|