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

Reimplement missing features. Fixes #30 & #32 #68

Merged
merged 3 commits into from
Jan 5, 2017

Conversation

jamestalmage
Copy link
Contributor

@jamestalmage jamestalmage commented Jan 2, 2017

#27 Removed some helpful stuff.

  • Timeout option.  #30 timeout Option.
    This is added back in. The result/error also has a timedOut member that will be either true or false .

  • reimplement stream cleanup procedures from execFile #32 Cleanup Streams
    child_process.spawn had some cleanup code to ensure streams were destroyed.
    I'm not sure how to write a meaningful test for this, as I'm not sure how to end a process without the streams also being destroyed for me (I am not sure that cleanup code is even necessary in Node core, I don't see how you get killed without streams destroyed, but I don't think there's any harm in adding back this code just for safety).

@jamestalmage jamestalmage changed the title Reimplement stream cleanup behavior from node core. Fixes #32 Reimplement missing features. Fixes #30 & #32 Jan 2, 2017
@sindresorhus sindresorhus merged commit e96350d into sindresorhus:master Jan 5, 2017
@sindresorhus
Copy link
Owner

Yay! Thanks James. Happy xmas and new years :)

@LinusU
Copy link
Contributor

LinusU commented Jan 8, 2017

Amazing! @sindresorhus can this be released as 0.5.1? ❤️

@ehmicky ehmicky mentioned this pull request Jan 5, 2024
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.

3 participants