mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Remove auto-unref
cc: @AvianFlu @AndreasMadsen
This commit is contained in:
1 parent
e9aa57e8bd
commit
1358632e67
1 file changed
-4
@@ -609,10 +609,6 @@ var spawn = exports.spawn = function(file, args, options) {
|
||||
gid: options ? options.gid : null
|
||||
});
|
||||
|
||||
if (options && options.detached) {
|
||||
child.unref();
|
||||
}
|
||||
|
||||
return child;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user