@oh-my-pi/pi-utils 9.2.0 → 9.2.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-pi/pi-utils",
3
- "version": "9.2.0",
3
+ "version": "9.2.2",
4
4
  "description": "Shared utilities for pi packages",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
package/src/procmgr.ts CHANGED
@@ -294,6 +294,7 @@ export async function terminate(options: TerminateOptions): Promise<boolean> {
294
294
  stdout: "ignore",
295
295
  stderr: "ignore",
296
296
  timeout: 5000,
297
+ windowsHide: true,
297
298
  });
298
299
  void taskkill.exited.catch(() => {});
299
300
  taskkill.unref();
package/src/ptree.ts CHANGED
@@ -447,6 +447,7 @@ export function spawn<In extends InMask = InMask>(cmd: string[], options?: Child
447
447
  stdout: "pipe",
448
448
  stderr: "pipe",
449
449
  detached,
450
+ windowsHide: true,
450
451
  ...rest,
451
452
  });
452
453
  const cproc = new ChildProcess(child, detached);