Commit c8a7386
cmd/run.ts: launch SumatraPDF detached, don't wait for it to exit
Bun keeps the script alive until a spawned child exits, so `bun cmd/run.ts`
hung until SumatraPDF was closed. unref() the subprocess (and ignore its
stdio) so the script returns as soon as the app is launched.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 6689705 commit c8a7386
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
0 commit comments