-someParametrs #in this line I need to stop my infiniteProgramm with bash command (SIGINT) (like Ctrl+C, but automatic)done
如何向我的SIGINT发送infiniteProgramm信号?
rl.on('close', function () { resolve(input.join('\n')); rl.on('SIGINT', reject);}it('should reject if SIGINT is sent', function () {
sandbox.stubreturn getMsg().then(null)