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
{{ message }}
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
cat <<EOF > foo
var sys = require("sys");
for (i = 0; i < 20; i++) {
sys.puts(i);
}
EOF
then:
node foo | head
0
1
2
3
4
5
6
7
8
9
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Socket is not writable
at Socket._writeOut (net.js:391:11)
at Socket.write (net.js:377:17)
at Object.puts (util.js:34:20)
at Object.<anonymous> (/home/freundt/temp/bar:3:6)
at Module._compile (module.js:411:26)
at Object..js (module.js:417:10)
at Module.load (module.js:343:31)
at Function._load (module.js:302:12)
at Array.<anonymous> (module.js:430:10)
at EventEmitter._tickCallback (node.js:126:26)
Reproducible: always
Expected behaviour: proper handling of SIGPIPE
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
then:
Reproducible: always
Expected behaviour: proper handling of SIGPIPE
The text was updated successfully, but these errors were encountered: