How can i get processid when i run process in java?
<p>By using the below code i can run batch file</p>

<pre><code>Process p = Runtime.getRuntime().exec("E:/web_chat_temp/RunOpenfire/RunMe.bat");
</code></pre>

<p>But here how can i get pocess id of this process.</p>

<p>coz i need to stop in other application...</p>

<p>thanks</p>
