Is there a way to simulate a slow standard input/output?

Viewed 148

Wanted to test a process execution (using Java ProcessBuilder) behaviors when the standard input / output is slow/blocked. Once a process is started, how can slowness (or blocking for sometime) be simulated?

0 Answers
Related