Skip to content

Lwt_process.pread/pwrite/with_process_in and friends should (optionally) throw when subprocess exits with a code <> 0 #216

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

Open
domsj opened this issue Feb 16, 2016 · 1 comment
Milestone

Comments

@domsj
Copy link
Contributor

domsj commented Feb 16, 2016

It would be nice to have an extra argument for these functions telling them to throw whenever the subprocess does not exit cleanly

@hcarty
Copy link
Contributor

hcarty commented Feb 16, 2016

Or if not throw then send some other signal such as putting the result into an optional Unix.process_status Lwt.u argument.

@aantron aantron modified the milestone: Lwt_process Jul 3, 2016
@aantron aantron removed this from the Lwt_process milestone May 12, 2017
@aantron aantron added the medium label May 20, 2017
@aantron aantron modified the milestones: 4.3.0, libuv Aug 4, 2019
@aantron aantron removed the medium label Mar 4, 2020
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

3 participants