* replaced die with Carp::confess
* replaced time() with Time::HiRes::clock_gettime(&Time::HiRes::CLOCK_MONOTONIC)
* $opts->{'non_empty_stdout_ok'} doesn't append stdout to err_msg
* added tests for $opts->{'discard_output'}