Skip to content

Return true if the given PID is running.

License

Notifications You must be signed in to change notification settings

justjavac/deno_is_running

Repository files navigation

deno_is_running

tag Build Status license

Return true if the given PID is running.

Usage

import isRunning from "https://deno.land/x/is_running/mod.ts";

isRunning(Deno.pid);  // true
isRunning(13232);

Example

deno run --allow-run --unstable https://deno.land/x/is_running/example.ts

License

deno_is_running is released under the MIT License. See the bundled LICENSE file for details.