Skip to content

Commit

Permalink
typo spawn.md (#3875)
Browse files Browse the repository at this point in the history
  • Loading branch information
jh0rman authored Jul 29, 2023
1 parent dae2928 commit bcb6dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/spawn.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bcb6dc7

Please sign in to comment.