I'm using windows, and I'm doing this experiment,
console.log( _.process.exec( "mongod --dbpath . --port 8083 --bind_ip 127.0.0.1" ).pid );
The problem is, when I do a tasklist command, the PID from that output points to the command prompt task and not to the mongod.exe task.
Is there a way to get the real PID of the mongod.exe task?