DEV Community

loading...

Discussion on: A Project To Help Hong Kong

Collapse
th3n00bc0d3r profile image
Muhammad

'''
execFile("C:/Program Files/MongoDB/Server/3.2/bin/mongod.exe", ['--version'], (error, stdout, stderr) => {
if (error) {
throw error;
}
console.log(stdout);
'''

This should kinda of fix that for windows env