aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-07-04 12:07:37 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-07-04 12:07:37 +0000
commit4ed2459be78fcc209076ab44a9ac206099b99ebc (patch)
treead4ddf4d34cd14c34371ff40afd2a90bd92cfe47 /rpmdrake.pm
parent33085d07e71ff226de89735ef9102739c20aebf5 (diff)
downloadrpmdrake-4ed2459be78fcc209076ab44a9ac206099b99ebc.tar
rpmdrake-4ed2459be78fcc209076ab44a9ac206099b99ebc.tar.gz
rpmdrake-4ed2459be78fcc209076ab44a9ac206099b99ebc.tar.bz2
rpmdrake-4ed2459be78fcc209076ab44a9ac206099b99ebc.tar.xz
rpmdrake-4ed2459be78fcc209076ab44a9ac206099b99ebc.zip
(open_help) use run_program instead of forking a shell
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index ab885718..ec243633 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -862,7 +862,8 @@ It will be disabled.",
sub open_help {
my ($mode) = @_;
- system("drakhelp --id software-management-$mode &");
+ use run_program;
+ run_program::raw({ detach => 1 }, 'drakhelp', '--id', "software-management-$mode");
interactive_msg(
N("Help launched in background"),
N("The help window has been started, it should appear shortly on your desktop."),