Skip to content
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

Pipe child stdout/stderr to parent if specified #10

Merged
merged 1 commit into from
Jan 30, 2016

Conversation

timjrobinson
Copy link
Contributor

So that you can initialize with:

respawn([cmd], {
    stdout: process.stdout,
    stderr: process.stderr,
});

Or pass your own custom logger, and have all the childs output always piped to the parent (even after respawns).

mafintosh added a commit that referenced this pull request Jan 30, 2016
Pipe child stdout/stderr to parent if specified
@mafintosh mafintosh merged commit e8a258b into mafintosh:master Jan 30, 2016
@mafintosh
Copy link
Owner

Great thanks. 2.2.0

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

Successfully merging this pull request may close these issues.

2 participants