Skip to content

Commit 7b758e5

Browse files
authored
fix: spawn EINVAL, child process span option
1 parent d775dd1 commit 7b758e5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tasks/compass.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ module.exports = function (grunt) {
1616
grunt.log.verbose.writeln('Running command: ' + args.join(' '));
1717
var child = grunt.util.spawn({
1818
cmd: args.shift(),
19-
args: args
19+
args: args,
20+
opts: { shell: true },
2021
}, function (err, result, code) {
2122
if (code === 127) {
2223
grunt.warn(

0 commit comments

Comments
 (0)