В консоли узла:Как использовать Exec, чтобы открыть Google Chrome
> var a = require('child_process')
> a.execSync('open /Applications/Google Chrome.app')
The files /Applications/Google and /Users/awguo/Chrome.app do not exist.
Error: Command failed: open /Applications/Google Chrome.app
The files /Applications/Google and /Users/awguo/Chrome.app do not exist.
at checkExecSyncError (child_process.js:1339:13)
at Object.execSync (child_process.js:1379:13)
at repl:1:3
at REPLServer.defaultEval (repl.js:132:27)
at bound (domain.js:254:14)
at REPLServer.runBound [as eval] (domain.js:267:12)
at REPLServer.<anonymous> (repl.js:279:12)
at REPLServer.emit (events.js:107:17)
at REPLServer.Interface._onLine (readline.js:214:10)
at REPLServer.Interface._line (readline.js:553:8)
>
Существует пространство между Google и Chrome.app. Что я должен сделать, чтобы сделать эту работу?
Спасибо,