diff --git a/npm/cli.js b/npm/cli.js
index <HASH>..<HASH> 100755
--- a/npm/cli.js
+++ b/npm/cli.js
@@ -8,3 +8,14 @@ var child = proc.spawn(electron, process.argv.slice(2), {stdio: 'inherit'})
 child.on('close', function (code) {
   process.exit(code)
 })
+
+const handleTerminationSignal = function (signal) {
+  process.on(signal, function signalHandler () {
+    if (!child.killed) {
+      child.kill(signal)
+    }
+  })
+}
+
+handleTerminationSignal('SIGINT')
+handleTerminationSignal('SIGTERM')
fix: handle SIGINT and SIGTERM from the Electron CLI helper (#<I>)

Fixes #<I>