Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo committed Oct 3, 2020
1 parent 2fd268e commit 608035a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import * as observableProcess from "observable-process"

## Starting processes

The best way to provide the command to start is in the form of an argv array:
The best way to provide the command to start is in the form of an `argv` array:

```js
const observable = observableProcess.start(["node", "server.js"])
Expand All @@ -59,7 +59,7 @@ You can also provide the full command line to run as a string:
const observable = observableProcess.start("node server.js")
```

By default, the process runs in the current directory. To set the different
By default, the process runs in the current directory. To set a different
working directory for the subprocess:

```js
Expand All @@ -77,8 +77,8 @@ const observable = observableProcess.start("node server.js", {
})
```

Without a custom `env` parameter, ObservableProcess uses the environment
variables from the parent process.
Without an `env` parameter, ObservableProcess uses the environment variables
from the parent process.

## Reading output

Expand Down

0 comments on commit 608035a

Please sign in to comment.