Skip to content

Instantly share code, notes, and snippets.

@poga
Last active August 29, 2015 13:55
Show Gist options
  • Save poga/8784854 to your computer and use it in GitHub Desktop.
Save poga/8784854 to your computer and use it in GitHub Desktop.
[~/MyProject/gulp-exec] (master) 372h42m 🐱 gulp --require LiveScript
[gulp] Requiring external module LiveScript
[gulp] Using file /Users/poga/MyProject/gulp-exec/gulpfile.ls
[gulp] Working directory changed to /Users/poga/MyProject/gulp-exec
[gulp] Running 'default'...
[gulp] Finished 'default' in 7.88 ms
events.js:72
throw er; // Unhandled 'error' event
^
Error: Command failed:
at ChildProcess.exithandler (child_process.js:637:15)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Socket.<anonymous> (child_process.js:948:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:466:12)
[~/MyProject/gulp-exec] (master) 372h43m 🐱 gulp --require LiveScript
[gulp] Requiring external module LiveScript
[gulp] Using file /Users/poga/MyProject/gulp-exec/gulpfile.ls
[gulp] Working directory changed to /Users/poga/MyProject/gulp-exec
[gulp] Running 'default'...
[gulp] Finished 'default' in 8.04 ms
events.js:72
throw er; // Unhandled 'error' event
^
Error: Command failed:
at ChildProcess.exithandler (child_process.js:637:15)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Socket.<anonymous> (child_process.js:948:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:466:12)
[~/MyProject/gulp-exec] (master) 372h44m 🐱 echo $?
8
require! gulp
gutil = require \gulp-util
require! path
exec = require \./index.js
gulp.task \default ->
file = new gutil.File do
base: path.join __dirname, '../'
cwd: path.join __dirname, '../'
path: path.join path.join __dirname, '../', './temp.txt'
contents: new Buffer 'blah'
stream = exec('lsc ./fail_process.ls')
stream.write(file)
stream.end!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment