dotenv-cli
Advanced tools
Comparing version 7.4.2 to 7.4.3
@@ -106,3 +106,3 @@ #!/usr/bin/env node | ||
spawn(command, argv._.slice(1), { stdio: 'inherit' }) | ||
const child = spawn(command, argv._.slice(1), { stdio: 'inherit' }) | ||
.on('exit', function (exitCode, signal) { | ||
@@ -115,1 +115,7 @@ if (typeof exitCode === 'number') { | ||
}) | ||
for (const signal of ['SIGINT', 'SIGTERM', 'SIGPIPE', 'SIGHUP', 'SIGBREAK', 'SIGWINCH', 'SIGUSR1', 'SIGUSR2']) { | ||
process.on(signal, function () { | ||
child.kill(signal) | ||
}) | ||
} |
{ | ||
"name": "dotenv-cli", | ||
"description": "A global executable to run applications with the ENV variables loaded by dotenv", | ||
"version": "7.4.2", | ||
"version": "7.4.3", | ||
"author": "entropitor", | ||
@@ -6,0 +6,0 @@ "bin": { |
9770
103
4