if (system( $run_cmd ) != 0) { print "Running command '$run_cmd' failed: $!/$?\n"; $err = 1; };