title: How to execute terminal command in swift?
body: <p>I am new toSswift. How can I run this process from Swift code?</p>
  
  <ol>
  <li>open Terminal window</li>
  <li>execute <code>cd Desktop/firebase-mac</code></li>
  <li>execute <code>npm start</code></li>
  </ol>
  
  <p>What I am actually trying to do is to start Node server on click from Swift code.</p>