title: Shell script password security of command-line parameters
body: <p>If I use a password as a command-line parameter it's public on the system using <code>ps</code>.</p>
  
  <p>But if I'm in a bash shell script and I do something like:</p>
  
  <pre><code>...
  { somecommand -p mypassword }
  ...
  </code></pre>
  
  <p>is this still going to show up in the process list? Or is this safe?</p>
  
  <ul>
  <li>How about sub-processes: (...)? Unsafe right? </li>
  <li>coprocess?</li>
  </ul>