docs: fix missing code highlight in spawn.md (#14761)

This commit is contained in:
Liran Tal
2024-10-23 11:01:21 +03:00
committed by GitHub
parent 4044ff740d
commit a656cc1b70

View File

@@ -179,7 +179,7 @@ proc.kill(); // specify an exit code
The parent `bun` process will not terminate until all child processes have exited. Use `proc.unref()` to detach the child process from the parent.
```
```ts
const proc = Bun.spawn(["bun", "--version"]);
proc.unref();
```