📅  最后修改于: 2022-03-11 15:04:12.848000             🧑  作者: Mango
const bashOut = spawn('bash', [script, param]);
bashOut.on('error', (error) => {
console.log('Bash error: ', error);
});