process module for Deno
Features:
- Cross platform support
- kill
- get
- getAll
- getTree
Usage
import {
get,
getAll,
getTree,
kill
} from "https://github.com/axetroy/deno_process/raw/master/mod.ts";
console.log(await get(1)); // get process info with pid
console.log(await getAll()); // get all process list
console.log(await getTree()); // get process tree
await kill(1024); // kill process by pid
await kill("deno"); // kill process by name
License
The MIT License