var sys = require('sys')
var exec = require('child_process').exec;
var child1 = exec("cd: /usr/local ", function (error, stdout, stderr) {
sys.print('stdout: ' + stdout);
sys.print('stderr: ' + stderr);
if (error !== null) {
console.log('exec error: ' + error);
}
});
It is giving me error command not found whereas all ls, pwd commands work well