2017-05-31 19 views

回答

0

出于某种原因,child_process spawn没有运行命令,所以我换出来了exec这样的:

exec(updateExe + ' ' + args[0], function (err, stdout, stderr) { 
    done(); 
}); 

但我需要把双引号围绕目标,以及因为它有两个词:

run(['--createShortcut="' + target + '" --process-start-args=showSplash'], app.quit); 
相关问题