process-exists:检查进程是否正在运行

时间:2021-05-26 03:30:41
【文件属性】:
文件名称:process-exists:检查进程是否正在运行
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-26 03:30:41
JavaScript 过程存在 检查进程是否正在运行 安装 $ npm install process-exists 用法 const processExists = require ( 'process-exists' ) ; ( async ( ) => { console . log ( await processExists ( process . pid ) ) ; //=> true const exists = await processExists . all ( [ process . pid , 'foo' ] ) ; console . log ( exists . get ( process . pid ) ) ; //=> true console . log ( exists . get ( 'foo' ) ) ; //=> false console . log
【文件预览】:
process-exists-main
----.gitignore(23B)
----package.json(745B)
----.npmrc(19B)
----index.js(680B)
----test.js(864B)
----.github()
--------workflows()
----license(1KB)
----readme.md(997B)
----index.test-d.ts(337B)
----.gitattributes(19B)
----.editorconfig(175B)
----index.d.ts(697B)

网友评论