get-cwd-of-process
v0.2.0
Published
Gets the working-directory of another process
Downloads
789
Readme
get-cwd-of-process
This is an npm module for retrieving the CWD of a given process. Works cross-platform. MIT licensed.
Usage
const getCwdOfProcess = require('get-cwd-of-process');
async function Foo() {
const cwd = await getCwdOfProcess(12345);
console.log(cwd);
}