@nu-art/commando 0.401.8 → 0.401.9

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,9 +142,10 @@ 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 = 10000, sampleInterval = 100) => {
145
+ waitForExit = (pid, timeout = 20000, sampleInterval = 100) => {
146
146
  const startTime = currentTimeMillis();
147
147
  return new Promise((resolve, reject) => {
148
+ this.logInfo(`Killing process (${pid}-${timeout}/${sampleInterval})`);
148
149
  const check = () => {
149
150
  if (!this.isAlive(pid))
150
151
  return resolve();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nu-art/commando",
3
- "version": "0.401.8",
3
+ "version": "0.401.9",
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.401.8",
42
- "@nu-art/ts-common": "0.401.8"
41
+ "@nu-art/cli-params": "0.401.9",
42
+ "@nu-art/ts-common": "0.401.9"
43
43
  },
44
44
  "devDependencies": {
45
- "@nu-art/testalot": "0.401.8"
45
+ "@nu-art/testalot": "0.401.9"
46
46
  },
47
47
  "unitConfig": {
48
48
  "type": "typescript-lib"