Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[js] Fix nqp::spawn.
  • Loading branch information
pmurias committed Mar 9, 2016
1 parent 78db547 commit 3872607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/js/nqp-runtime/io.js
Expand Up @@ -309,7 +309,7 @@ var PIPE_IGNORE_ERR = 128;
var PIPE_CAPTURE_ERR = 256;

op.spawn = function(command, dir, env, input, output, error, flags) {
nqpIo.spawn(command, dir, env.$$toObject(), input, output, error, flags);
nqpIo.spawn(command.array, dir, env.$$toObject(), input, output, error, flags);
};

op.shell = function(command, dir, env, input, output, error, flags) {
Expand Down

0 comments on commit 3872607

Please sign in to comment.