title: Chrome crashing when launched by Karma executed from MSBuild
body: <p>My build server service is executing the following command from an msbuild file:</p>
  
  <pre><code>Exec Command="karma start $(LandscapeExplorerProjectFolder)karma.conf.js -- log-level debug
  </code></pre>
  
  <p>This then launches a Karma instance running on Node.js</p>
  
  <p>Karma is configured to launch Chrome to run my Jasmine tests. When I execute the above command manually by logging on to the server and typing into the command prompt, the tests run as I would expect.</p>
  
  <p>However when Karma is started by my build service, Chrome is initially launched but then crashes.</p>
  
  <p>From the output of the console when running a build I get the following: </p>
  
  <pre><code>WARN [launcher]: [39mChrome have not captured in 60000 ms, killing.
  DEBUG [launcher]: [39mProcess Chrome exited with code 0
  </code></pre>
  
  <p>When looking in the Chrome log I see:</p>
  
  <pre><code>[6888:2988:1105/162913:ERROR:child_process_launcher.cc(444)] Failed to launch child process
  [6888:2988:1105/162913:WARNING:sad_tab_view.cc(105)] Tab Killed: http://localhost:9876/
  </code></pre>
  
  <p>The exact same console command works fine when executed manually, but there is something about the way the build service is executing things that is causing Chrome to crash. Does anyone have any ideas about this?</p>