summaryrefslogtreecommitdiff
path: root/mimeopen
diff options
context:
space:
mode:
Diffstat (limited to 'mimeopen')
-rwxr-xr-xmimeopen6
1 files changed, 3 insertions, 3 deletions
diff --git a/mimeopen b/mimeopen
index a7ff01b..90f5366 100755
--- a/mimeopen
+++ b/mimeopen
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.33';
+our $VERSION = '0.34';
$|++;
# ########## #
@@ -174,12 +174,12 @@ print 'Opening '.join(', ', map qq{"$_"}, @ARGV)
. ' with '.$default->get_value('Name')." ($mimetype)\n";
#print STDERR "exec string: ".$default->parse_Exec(@ARGV)."\n";
if (@ARGV == 1 or $default->wants_list) {
- $default->exec(@ARGV);
+ $default->run(@ARGV);
}
else {
my $last = pop @ARGV;
fork or $default->exec($_) for @ARGV;
- $default->exec($last);
+ $default->run($last);
}
exit 7; # something went wrong in the exec