summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet8
1 files changed, 2 insertions, 6 deletions
diff --git a/mdkapplet b/mdkapplet
index fe11cbf5..7a8e725e 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -196,12 +196,8 @@ sub harvester {
return if $clean;
}
sub fork_exec {
- my $pid = fork();
- if (defined $pid) {
- !$pid and do { exec(@_) or POSIX::_exit() };
- } else {
- refresh_gui(1);
- }
+ run_program::raw({ detach => 1 }, @_);
+ refresh_gui(1);
}
sub refresh_gui {
my ($sens) = @_;