Skip to content

Commit

Permalink
Use LANG=C in example
Browse files Browse the repository at this point in the history
Incomplete fix: I don't know where to add the environment for the JSch example, and I haven't checked the code in the `examples/` directory.
  • Loading branch information
toolforger authored Apr 9, 2019
1 parent 5acbe1f commit 8941004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ not be performed concurrently.
Here is an example of interacting with a spawn process:

```java
Process process = Runtime.getRuntime().exec("/bin/sh");
Process process = Runtime.getRuntime().exec("/bin/sh", new String[] {"LANG=C"});

Expect expect = new ExpectBuilder()
.withInputs(process.getInputStream())
Expand Down

0 comments on commit 8941004

Please sign in to comment.