@smkit/tools
Advanced tools
Comparing version
@@ -94,3 +94,9 @@ #!/usr/bin/env node | ||
dotenv.populate(process.env, secrets); | ||
await execa(command).stdout.pipe(process.stdout); | ||
const subprocess = execa(command); | ||
subprocess.stdout.pipe(process.stdout); | ||
await subprocess; | ||
process.on('SIGINT', function () { | ||
subprocess.kill('SIGTERM'); | ||
process.exit(); | ||
}); | ||
} | ||
@@ -97,0 +103,0 @@ yargs(process.argv.slice(2)) |
{ | ||
"name": "@smkit/tools", | ||
"version": "0.0.1-beta.18", | ||
"version": "0.0.1-beta.19", | ||
"description": "Tools and cool stuff of SberMarketing", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
30472
1.1%355
1.72%