@nu-art/commando 0.401.9 → 0.500.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -142,10 +142,9 @@ export class InteractiveShell extends Logger {
|
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
144
|
// Poll until a PID is no longer alive or timeout is hit
|
|
145
|
-
waitForExit = (pid, timeout =
|
|
145
|
+
waitForExit = (pid, timeout = 10000, sampleInterval = 100) => {
|
|
146
146
|
const startTime = currentTimeMillis();
|
|
147
147
|
return new Promise((resolve, reject) => {
|
|
148
|
-
this.logInfo(`Killing process (${pid}-${timeout}/${sampleInterval})`);
|
|
149
148
|
const check = () => {
|
|
150
149
|
if (!this.isAlive(pid))
|
|
151
150
|
return resolve();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nu-art/commando",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.500.0",
|
|
4
4
|
"description": "Shell command execution framework with interactive sessions, CLI parameter resolution, and plugin system for building and executing shell scripts programmatically",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"build": "tsc"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@nu-art/cli-params": "0.
|
|
42
|
-
"@nu-art/ts-common": "0.
|
|
41
|
+
"@nu-art/cli-params": "0.500.0",
|
|
42
|
+
"@nu-art/ts-common": "0.500.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@nu-art/testalot": "0.
|
|
45
|
+
"@nu-art/testalot": "0.500.0"
|
|
46
46
|
},
|
|
47
47
|
"unitConfig": {
|
|
48
48
|
"type": "typescript-lib"
|