From 89410044fbd73281476d99b8bcd815986c415237 Mon Sep 17 00:00:00 2001 From: Joachim Durchholz Date: Tue, 9 Apr 2019 07:49:52 +0200 Subject: [PATCH] Use LANG=C in example 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 970c191..aac10d5 100644 --- a/README.md +++ b/README.md @@ -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())