process.stderr

process.stderr

A writable stream to stderr (on fd 2).

process.stderr and process.stdout are unlike other streams in Node.js in that they cannot be closed (end() will throw), they never emit the finish event and that writes can block when output is redirected to a file (although disks are fast and operating systems normally employ write-back caching so it should be a very rare occurrence indeed.)

doc_Nodejs
2016-04-30 04:41:22
Comments
Leave a Comment

Please login to continue.