title: Runtime.getRuntime().exec(String[]) safety
body: <p>I'm using Runtime.getRuntime().exec(String[]) to run processes where some of the elements of the String array are defined by the user.</p>
  
  <p><strong>Is this safe?</strong> Or will it allow to inject code into the terminal?</p>
  
  <p>If it isn't safe what can i do to avoid code injection? (it has to be platform independent)</p>