diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-09 11:38:50 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-09 11:38:50 +0000 |
commit | 52930567d7a855ea39dbb07bcb0ed5aebefeb5d8 (patch) | |
tree | 04bddb8b14f3067b0bcd4ea8a40dd667a3577c4e /mdkapplet | |
parent | d0d37b64a3315d23a4806cfcc39d1f74640acd33 (diff) | |
download | mgaonline-52930567d7a855ea39dbb07bcb0ed5aebefeb5d8.tar mgaonline-52930567d7a855ea39dbb07bcb0ed5aebefeb5d8.tar.gz mgaonline-52930567d7a855ea39dbb07bcb0ed5aebefeb5d8.tar.bz2 mgaonline-52930567d7a855ea39dbb07bcb0ed5aebefeb5d8.tar.xz mgaonline-52930567d7a855ea39dbb07bcb0ed5aebefeb5d8.zip |
(fork_exec) just resuse run_program
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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) = @_; |