my (@cmd) = ($bin, '-q');
push (@cmd, '-j', $jitter) if defined $jitter;
- run_command_no_die (@cmd);
+ print join (' ', @_), "\n";
+ exec (@_);
} elsif ($sim eq 'qemu') {
print "warning: qemu doesn't support --terminal\n"
if $vga eq 'terminal';
die "command failed\n" if system (@_);
}
-sub run_command_no_die {
- print join (' ', @_), "\n";
- system (@_);
-}
-
sub search_path {
my ($target) = @_;
for my $dir (split (':', $ENV{PATH})) {