Closed
Description
Testing #54866
elementary OS 0.4.1 Loki (Ubuntu 16.04.2)
- have
index.js
process.on('SIGINT', () => {
console.log('Received SIGINT.');
process.exit();
});
let i= 0;
setInterval(() => {
console.log(`hello: ${i++}`);
}, 1000);
- launch from te debug viewlet
- Press the stop button on the debug toolbar. Programm terminates without SIGINT printed
- run from the built-in terminal
node index.js
. Press Ctrl+C.Received SIGINT
is printed and progamm terminted.