Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo committed Jul 18, 2019
1 parent 7b975a4 commit d1aaf36
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,10 @@ const port = await observable.output.waitForRegex(/running at port \d+./)

## Sending input to the process

You can interact with the STDIN instance of the underlying
[ChildProcess](https://nodejs.org/api/child_process.html) which the
ObservableProcess exposes.
ObservableProcess exposes the
[stdin](https://nodejs.org/api/child_process.html#child_process_subprocess_stdin)
stream of its underlying
[ChildProcess](https://nodejs.org/api/child_process.html):

```js
observable.stdin.write("my input\n")
Expand Down

0 comments on commit d1aaf36

Please sign in to comment.