my $err_stat = system( $prog, @args ); die "system failed on $prog @args: $?" if $err_stat;