diff options
author | Colin Guthrie <colin@mageia.org> | 2013-11-21 19:12:41 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-11-21 19:32:32 +0000 |
commit | 430a93189bc0dc694e1dcf5bdd0eeae9136f12a0 (patch) | |
tree | a122b26ce92bf7f8079d17865627bf3a9ed16c85 /bin/net_applet | |
parent | a50707aee9c1951cfc7c0d5c8d72780b08dc814c (diff) | |
download | drakx-net-430a93189bc0dc694e1dcf5bdd0eeae9136f12a0.tar drakx-net-430a93189bc0dc694e1dcf5bdd0eeae9136f12a0.tar.gz drakx-net-430a93189bc0dc694e1dcf5bdd0eeae9136f12a0.tar.bz2 drakx-net-430a93189bc0dc694e1dcf5bdd0eeae9136f12a0.tar.xz drakx-net-430a93189bc0dc694e1dcf5bdd0eeae9136f12a0.zip |
Use more standard API for launching apps
Diffstat (limited to 'bin/net_applet')
-rwxr-xr-x | bin/net_applet | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/net_applet b/bin/net_applet index 1fa3a60..146b5b9 100755 --- a/bin/net_applet +++ b/bin/net_applet @@ -151,7 +151,7 @@ my %actions = ( }, 'confNetwork' => { name => N("Configure Network"), - launch => sub { system("drakconnect &") } + launch => sub { run_program::raw({ detach => 1 }, 'drakconnect') } }, 'chooseInterface' => { name => N("Watched interface"), @@ -211,7 +211,7 @@ my %actions = ( }, 'help' => { name => N("Help"), - launch => sub { system("drakhelp --id internet-connection &") } + launch => sub { run_program::raw({ detach => 1 }, 'drakhelp', '--id', 'internet-connection') } }, 'quit' => { name => N("Quit"), |