aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jhorman Tito <jhormanrus@gmail.com> 2023-07-29 02:35:13 -0500
committerGravatar GitHub <noreply@github.com> 2023-07-29 00:35:13 -0700
commitbcb6dc78060f4309c08b63827b10e3d55632d647 (patch)
tree168202b81458fa108ae66f2a97caa2b090629665
parentdae2928620c578973683ab25039d394b30a800a6 (diff)
downloadbun-bcb6dc78060f4309c08b63827b10e3d55632d647.tar.gz
bun-bcb6dc78060f4309c08b63827b10e3d55632d647.tar.zst
bun-bcb6dc78060f4309c08b63827b10e3d55632d647.zip
typo spawn.md (#3875)
-rw-r--r--docs/api/spawn.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api/spawn.md b/docs/api/spawn.md
index 1ef81f1b7..b040272b5 100644
--- a/docs/api/spawn.md
+++ b/docs/api/spawn.md
@@ -12,7 +12,7 @@ The second argument to `Bun.spawn` is a parameters object that can be used to co
```ts
const proc = Bun.spawn(["echo", "hello"], {
- cwd: "./path/to/subdir", // specify a working direcory
+ cwd: "./path/to/subdir", // specify a working directory
env: { ...process.env, FOO: "bar" }, // specify environment variables
onExit(proc, exitCode, signalCode, error) {
// exit handler