title: Execute command in background
body: <p>I use the following code which is execute command of "npm install" , now while debug I see that the command is taking about 10..15 sec to execute (depend on how much module I've). what I want is that this command will execute in background and the program will continue.</p>
  
  <pre><code>cmd := exec.Command(name ,args...)
  cmd.Dir = entryPath
  </code></pre>
  
  <p>In debug I see that to move to next line tass about 10..15 sec...</p>
  
  <p>I’ve two questions in this:</p>
  
  <ol>
  <li>How can I can do it? since I want to do something in parallel...</li>
  <li>How can I know when it finishes? To provide additional logic which is related to this command i.e. after the <code>npm install</code> is done I need to
  do other stuff.</li>
  </ol>