https://github.com/justjavac/deno_is_running
Return true if the given PID is running.
https://github.com/justjavac/deno_is_running
deno deno-mod deno-module deno-modules deno-utils pid running
Last synced: about 1 month ago
JSON representation
Return true if the given PID is running.
- Host: GitHub
- URL: https://github.com/justjavac/deno_is_running
- Owner: justjavac
- License: mit
- Created: 2020-08-24T06:14:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-05T15:34:07.000Z (over 5 years ago)
- Last Synced: 2025-10-26T03:57:51.421Z (7 months ago)
- Topics: deno, deno-mod, deno-module, deno-modules, deno-utils, pid, running
- Language: TypeScript
- Homepage:
- Size: 3.91 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# deno_is_running
[](https://github.com/justjavac/deno_is_running/releases)
[](https://github.com/justjavac/deno_is_running/actions)
[](https://github.com/justjavac/deno_is_running/blob/master/LICENSE)
Return `true` if the given PID is running.
## Usage
```ts
import isRunning from "https://deno.land/x/is_running/mod.ts";
isRunning(Deno.pid); // true
isRunning(13232);
```
## Example
```bash
deno run --allow-run --unstable https://deno.land/x/is_running/example.ts
```
## License
[deno_is_running](https://github.com/justjavac/deno_is_running) is released under the MIT License. See the bundled [LICENSE](./LICENSE) file for details.