summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-16 11:29:49 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-16 11:29:49 +0000
commitb323d87c844c006596dcef8be130c9534f01ead5 (patch)
treef57208575efb19819082fa35c242768e2a233410
parentcf0dd034ca9548ce146068c484f36608c3a90204 (diff)
downloadmgaonline-b323d87c844c006596dcef8be130c9534f01ead5.tar
mgaonline-b323d87c844c006596dcef8be130c9534f01ead5.tar.gz
mgaonline-b323d87c844c006596dcef8be130c9534f01ead5.tar.bz2
mgaonline-b323d87c844c006596dcef8be130c9534f01ead5.tar.xz
mgaonline-b323d87c844c006596dcef8be130c9534f01ead5.zip
(fork_exec) return pid of forked process
-rwxr-xr-xmdkapplet3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index eac4ac49..bd6989d4 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -197,8 +197,9 @@ sub harvester {
return if $clean;
}
sub fork_exec {
- run_program::raw({ detach => 1 }, @_);
+ my $pid = run_program::raw({ detach => 1 }, @_);
refresh_gui(1);
+ return $pid;
}
sub refresh_gui {
my ($sens) = @_;