title: Send Parameter To Runtime.getRuntime().exec() After Execution
body: <p>I need to execute a command in my java program but after executing the command , it required another parameter ( a password in my case ). how can I manage the output process of <code>Runtime.getRuntime().exec()</code> to accept parameter for further execution ?</p>
  
  <p>I tried <code>new BufferedWriter(new OutputStreamWriter(signingProcess.getOutputStream())).write("123456");</code> but it did not work.</p>