@oh-my-pi/pi-utils 11.8.0 → 11.8.1
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 +1 -1
- package/src/ptree.ts +1 -1
package/package.json
CHANGED
package/src/ptree.ts
CHANGED
|
@@ -349,7 +349,7 @@ export async function exec(cmd: string[], opts?: ExecOptions): Promise<ExecResul
|
|
|
349
349
|
const stdin = typeof input === "string" ? Buffer.from(input) : input;
|
|
350
350
|
const resolved: ChildSpawnOptions = stdin === undefined ? spawnOpts : { ...spawnOpts, stdin };
|
|
351
351
|
using child = spawn(cmd, resolved);
|
|
352
|
-
return child.wait({ stderr, allowAbort, allowNonZero });
|
|
352
|
+
return await child.wait({ stderr, allowAbort, allowNonZero });
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
// ── Signal combinators ───────────────────────────────────────────────────────
|