Skip to content

node.js's process.stderr.write or process.stdout.write behavier changed by pm2 #2011

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tangxinfa opened this issue Mar 11, 2016 · 1 comment

Comments

@tangxinfa
Copy link

node.js's define:

bool write(chunk[, encoding][, callback])

see node.js doc

overwrite by pm2 with:

void write(chunk[, encoding][, fd])             // fd is unused.

see pm2 source code

there is no return value to indicate writed data buffered internally, and the callback never called:(

@Unitech
Copy link
Owner

Unitech commented Mar 11, 2016

PR welcome :)

Unitech added a commit that referenced this issue Mar 11, 2016
Unitech added a commit that referenced this issue Mar 11, 2016
@Unitech Unitech closed this as completed Mar 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants