https://github.com/genome/genome
Revision 4d20112094767ef2f590b34520a552e5d8e96cf9 authored by Michael J. Kiwala on 11 March 2014, 20:03:39 UTC, committed by Michael J. Kiwala on 11 March 2014, 20:10:19 UTC
Sometimes the bqueues or bhosts command run under qx() would fail unnoticed.  Instead of handling errors like these, required_rusage() would limp along while missing a proper host group (for example).

Switching to Genome::Sys->capture (instead of qx), should throw an error when either of these commands fail.
1 parent 68562f7
History
Tip revision: 4d20112094767ef2f590b34520a552e5d8e96cf9 authored by Michael J. Kiwala on 11 March 2014, 20:03:39 UTC
Improve error handling in required_rusage
Tip revision: 4d20112

README

back to top