-
Notifications
You must be signed in to change notification settings - Fork 7.3k
"node --eval" messes up stdout #572
Comments
yeah I agree. IMO it should eval and continue doing what it would otherwise (loading the module, etc) |
There's been a rewrite to
@visionmedia |
yeah, and you can always --eval |
found a simple workaround that works for me console.log then passes the arguments to stderr instead of stdout including the mean console.log in |
fine - we can remove the console.log - but let's not add this extra |
When using --eval node prints stuff on the console. This is unfortunate because you can't use stdout as a proper data stream any more, when you spawn child processes with --eval. I removed line 671 in
src/node.js
and it now works like a charm.The text was updated successfully, but these errors were encountered: