Pause/Suspend Process object
<p>I have a line like this:</p>

<pre><code>Process process = Runtime.getRuntime().exec(cmd);
</code></pre>

<p>And at some point I want to pause the process. For 3 seconds. Thread.wait() or Object lock; lock.wait() does not help since, the process is going in the background, not pausing. </p>

<p>I know it's not safe and dumb do to this, I just need to pause the execution of longer-output command.</p>
