-
Notifications
You must be signed in to change notification settings - Fork 0
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
Exit status #9
Exit status #9
Conversation
…le close". Files checked in: htseq2multx.pl tests/run_tests.sh tests/simulate_multx_error_test_27.pl
…it code of fastq-multx. Files checked in: Makefile.PL htseq2multx.pl tests/run_tests.sh tests/simulate_multx_error_test_27.pl tests/simulate_multx_non0_test_28.pl tests/test_data/test_27_error.out tests/test_data/test_27_summary.out tests/test_data/test_28_error.out tests/test_data/test_28_summary.out
I created an issue for "All checks have failed": #8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me! Just had a question, because I would not have know how to simulate this kind of error, specifically.
@lparsons - Do you wish to have a look at this PR before I merge it and install on the cluster for HTSEQ to use? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a good improvement. Some rather minor comments inline, but go ahead and merge.
Added a new version of IO::Pipe::Producer in order to accurately capture exit codes.
The previous version checked exit status, but that exit status was always 0 because it was the Producer fork parent ending without it returning the exit status of its child process, and that child process wasn't even attempting to get the exit status anyway. It may be that I had assumed it was getting the exit status of the command being executed.