Skip to content

Commit

Permalink
Unref all chat child processes and ignore stdio
Browse files Browse the repository at this point in the history
  • Loading branch information
bastimeyer committed Mar 29, 2016
1 parent b23e72a commit 5fd41f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/services/ChatService.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ define([

function launch( exec, params ) {
return new Promise(function( resolve, reject ) {
var spawn = CP.spawn( exec, params, { detached: true } );
var spawn = CP.spawn( exec, params, {
detached: true,
stdio: "ignore"
});
spawn.unref();
spawn.on( "error", reject );
run.next( resolve );
});
Expand Down

0 comments on commit 5fd41f5

Please sign in to comment.