my $status = system($program, $arg1, $arg2); die "$program exited funny: $?" unless $status == 0;