summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakhelp
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-06-04 22:23:29 +0000
committerThierry Vignaud <tv@mandriva.org>2007-06-04 22:23:29 +0000
commitbb3bf448ee74f85c6e2ed427473a94cc0b9b6f26 (patch)
tree95e3888c8ceae6be232ec591a589c4456bb3321f /perl-install/standalone/drakhelp
parentf6c7f5f6b0edbd8cbd645773035a077bf582019e (diff)
downloaddrakx-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/drakhelp4
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;