Skip to main content
Module

x/is/running.ts>isRunning

Detect the running environment and context of the current script
Latest
function isRunning
import { isRunning } from "https://deno.land/x/is@v0.6.0/running.ts";

Return true if the given PID is running.

Requires the --allow-run flag.

Parameters

pid: number

Returns

Promise<boolean>