title: ProcessBuilder on OSX
body: <p>I am able to successfully execute this on windows:</p>
  
  <p><code>builder = new ProcessBuilder("cmd.exe", "/c", "nmap " + ipRange, "&amp;cd");</code></p>
  
  <p>But this on OSX fails:</p>
  
  <p><code>builder = new ProcessBuilder("/usr/local/bin/nmap", ipRange);</code></p>
  
  <p>With the error:</p>
  
  <p>"Starting Nmap 5.51 ( <a href="http://nmap.org" rel="nofollow">http://nmap.org</a> ) at 2012-03-22 09:51 PDT</p>
  
  <p>Invalid host expression: 127.0.0.1 -p T:80 -- colons only allowed in IPv6 addresses, and then you need the -6 switch</p>
  
  <p>QUITTING!"</p>
  
  <p>What is the correct way to create that ProcessBuilder for OSX?
  Thanks</p>