UNPKG

@icebro/actionhero

Version:

The reusable, scalable, and quick node.js API server for stateless and stateful applications

13 lines (12 loc) 274 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isRunning = void 0; function isRunning(pid) { try { return process.kill(pid, 0); } catch (e) { return e.code === "EPERM"; } } exports.isRunning = isRunning;