no setsid on macos
This commit is contained in:
parent
bddaa6a566
commit
9196e82b63
|
|
@ -19,7 +19,7 @@ Transcript-based shell integration test runner. Bun + TypeScript.
|
||||||
## Architecture
|
## Architecture
|
||||||
|
|
||||||
- `src/parse.ts` — parses `.shout` files into `ShoutFile` (list of `Command`)
|
- `src/parse.ts` — parses `.shout` files into `ShoutFile` (list of `Command`)
|
||||||
- `src/run.ts` — executes commands via `Bun.spawn(["setsid", "/bin/sh"])`, captures output with sentinels
|
- `src/run.ts` — executes commands via `Bun.spawn(["/bin/sh"], { detached: true })`, captures output with sentinels
|
||||||
- `src/match.ts` — wildcard-aware output matching and diff generation
|
- `src/match.ts` — wildcard-aware output matching and diff generation
|
||||||
- `src/format.ts` — evaluates pass/fail, formats failures and summary
|
- `src/format.ts` — evaluates pass/fail, formats failures and summary
|
||||||
- `src/update.ts` — rewrites `.shout` files with actual output (`--update` mode)
|
- `src/update.ts` — rewrites `.shout` files with actual output (`--update` mode)
|
||||||
|
|
|
||||||
|
|
@ -137,7 +137,8 @@ export async function runFile(
|
||||||
env["PATH"] = options.pathDirs.join(":") + ":" + (env["PATH"] ?? "")
|
env["PATH"] = options.pathDirs.join(":") + ":" + (env["PATH"] ?? "")
|
||||||
}
|
}
|
||||||
|
|
||||||
const proc = Bun.spawn(["setsid", "/bin/sh"], {
|
const proc = Bun.spawn(["/bin/sh"], {
|
||||||
|
detached: true,
|
||||||
stdin: "pipe",
|
stdin: "pipe",
|
||||||
stdout: "pipe",
|
stdout: "pipe",
|
||||||
stderr: "pipe",
|
stderr: "pipe",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user