UNPKG

deno-vm

Version:

A VM module that provides a secure runtime environment via Deno.

13 lines (12 loc) 443 B
export declare function polyfillMessageChannel(): void; /** * Forcefully kills the process with the given ID. * On Linux/Unix, this means sending the process the SIGKILL signal. * On Windows, this means using the taskkill executable to kill the process. * @param pid The ID of the process to kill. */ export declare function forceKill(pid: number): void; export interface ExecResult { stdout: string; stdin: string; }