title: How to combine two command with ""/usr/bin/env" in swift?
body: <p>I want to combine two command in &quot;/usr/bin/env&quot; in swift.
  I am using</p>
  <pre><code>let task = Process()
  task.launchPath = &quot;/usr/bin/env&quot; 
  task.arguments = arguments 
  task.launch()
  task.waitUntilExit()
  </code></pre>
  <p>here i want to combine two xcodebuild with different different sumulator</p>
  <p>example :</p>
  <pre><code>xcodebuild -scheme DemoAppUITests test-without-building  -destination 'platform=iOS Simulator,name=iPhone 11,OS=15.0' 
   &amp; 
  xcodebuild -scheme DemoAppUITests test-without-building  -destination 'platform=iOS Simulator,name=iPhone 11,OS=15.0'
  </code></pre>
  <p>How i can archive this.</p>
  <p>Thanks.</p>