aboutsummaryrefslogtreecommitdiff
path: root/docs/api/spawn.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api/spawn.md')
-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