Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 5 days 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-05T15:34:07.000Z (over 4 years ago)
- Last Synced: 2024-11-14T12:56:54.906Z (about 1 month ago)
- Topics: deno, deno-mod, deno-module, deno-modules, deno-utils, pid, running
- Language: TypeScript
- Homepage:
- Size: 3.91 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# deno_is_running
[![tag](https://img.shields.io/github/release/justjavac/deno_is_running)](https://github.com/justjavac/deno_is_running/releases)
[![Build Status](https://github.com/justjavac/deno_is_running/workflows/ci/badge.svg?branch=master)](https://github.com/justjavac/deno_is_running/actions)
[![license](https://img.shields.io/github/license/justjavac/deno_is_running)](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.