mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
11 lines
179 B
TypeScript
11 lines
179 B
TypeScript
|
new Worker("data:,setTimeout(() => Deno.exit(2), 200)", {
|
||
|
type: "module",
|
||
|
deno: { namespace: true },
|
||
|
});
|
||
|
|
||
|
try {
|
||
|
await Deno.run({ cmd: ["ps"] });
|
||
|
} catch {
|
||
|
Deno.exit(0);
|
||
|
}
|