diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-07-04 12:07:37 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-07-04 12:07:37 +0000 |
commit | 4ed2459be78fcc209076ab44a9ac206099b99ebc (patch) | |
tree | ad4ddf4d34cd14c34371ff40afd2a90bd92cfe47 | |
parent | 33085d07e71ff226de89735ef9102739c20aebf5 (diff) | |
download | rpmdrake-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
-rw-r--r-- | rpmdrake.pm | 3 |
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."), |