diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-04-07 14:59:48 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-04-07 14:59:48 +0000 |
commit | edf373530a51c701dbb15310a85a120b49ad8b43 (patch) | |
tree | b661da6196d02ba43889c6914adb77ee897a2ae4 /mdkapplet | |
parent | 15f8fa73d9d6952c4b34e4cba9c17864a1c40b3e (diff) | |
download | mgaonline-edf373530a51c701dbb15310a85a120b49ad8b43.tar mgaonline-edf373530a51c701dbb15310a85a120b49ad8b43.tar.gz mgaonline-edf373530a51c701dbb15310a85a120b49ad8b43.tar.bz2 mgaonline-edf373530a51c701dbb15310a85a120b49ad8b43.tar.xz mgaonline-edf373530a51c701dbb15310a85a120b49ad8b43.zip |
(fork_exec) actually pass extra arguments to forked process
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -190,10 +190,9 @@ sub harvester { return if $clean; } sub fork_exec { - my ($prog) = @_; my $pid = fork(); if (defined $pid) { - !$pid and do { exec($prog) or POSIX::_exit() }; + !$pid and do { exec(@_) or POSIX::_exit() }; return $pid; } else { refresh_gui(1); |