You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the process being exec'ed errors out and outputs a lot of text, shelljs errors out on node 0.12/io.js (i.e. when support for actual execSync is present) on Travis (I'm not able to reproduce this on my Mac).
See output-mac.txt for the expected case (i.e. git command errors out, dumps quite some text) and see output-travis.txt for the error (Travis build from source)
The text was updated successfully, but these errors were encountered:
Updated the top post with a reduced test case - it seems that if there's an error, the output stream is getting closed too soon on nodes with support for execSync.
dominykas
changed the title
Problems with exec (sync)
Problems with exec (sync) on 0.12/io.js
Mar 31, 2015
@dominykas: Sorry this issue is so old! Would you mind re-doing this with the latest version of shelljs and letting me know if it is still broken? Thanks!
Perhaps the issue was related to #206 (which was fixed by #214)? Both @ariporad and I came on after v0.5.3, so I'm not as familiar with the issues back then. Reading your error messages however, it looks like it's related. Closing for now, but please reopen if the issue ever returns.
When the process being
exec
'ed errors out and outputs a lot of text,shelljs
errors out on node 0.12/io.js (i.e. when support for actualexecSync
is present) on Travis (I'm not able to reproduce this on my Mac).See this gist: https://gist.github.com/dominykas/f67e139a93fffdeb4c11
See
output-mac.txt
for the expected case (i.e.git
command errors out, dumps quite some text) and seeoutput-travis.txt
for the error (Travis build from source)The text was updated successfully, but these errors were encountered: