Skip to content

Commit

Permalink
Set detached option to false
Browse files Browse the repository at this point in the history
  • Loading branch information
q2s2t committed Aug 20, 2014
1 parent 3c7f385 commit a02178d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,7 @@ Api.prototype.extract = Promise.denodeify(function (archive, dest, callback) {
var self = this;
var err = null;
var cmd = ('x ' + archive + ' -y -o' + dest).split(' ');
var run = spawn('7z', cmd, {
detached: true,
stdio: 'pipe'
});
var run = spawn('7z', cmd, { stdio: 'pipe' });
run.on('close', function (code) {
if (err) {
return callback(err);
Expand Down

0 comments on commit a02178d

Please sign in to comment.