diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-06-04 22:23:29 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-06-04 22:23:29 +0000 |
commit | bb3bf448ee74f85c6e2ed427473a94cc0b9b6f26 (patch) | |
tree | 95e3888c8ceae6be232ec591a589c4456bb3321f /perl-install/standalone/drakhelp | |
parent | f6c7f5f6b0edbd8cbd645773035a077bf582019e (diff) | |
download | drakx-bb3bf448ee74f85c6e2ed427473a94cc0b9b6f26.tar drakx-bb3bf448ee74f85c6e2ed427473a94cc0b9b6f26.tar.gz drakx-bb3bf448ee74f85c6e2ed427473a94cc0b9b6f26.tar.bz2 drakx-bb3bf448ee74f85c6e2ed427473a94cc0b9b6f26.tar.xz drakx-bb3bf448ee74f85c6e2ed427473a94cc0b9b6f26.zip |
do not fork useless shells
Diffstat (limited to 'perl-install/standalone/drakhelp')
-rw-r--r-- | perl-install/standalone/drakhelp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakhelp b/perl-install/standalone/drakhelp index 15c4963c2..4e4716684 100644 --- a/perl-install/standalone/drakhelp +++ b/perl-install/standalone/drakhelp @@ -32,7 +32,7 @@ my ($opt, $idlabel) = @ARGV; my ($instpath, $ancpath, $package) = ctxhelp::path2help($opt, $idlabel); if (! -e $instpath) { - system("/usr/sbin/drakhelp_inst $package"); + system('/usr/sbin/drakhelp_inst', $package); } if (! -e $instpath) { @@ -45,7 +45,7 @@ if (! -e $instpath) { if (-e $instpath) { local $ENV{HOME} = '/root'; - system("/usr/bin/www-browser file://$ancpath &"); + run_program::raw({ detach => 1 }, '/usr/bin/www-browser', "file://$ancpath"); } else { $ugtk2::wm_icon = "help"; my $in = interactive->vnew; |