summaryrefslogtreecommitdiffstats
path: root/usr/share
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2018-10-28 14:29:41 +0100
committerPapoteur <papoteur@mageia.org>2018-10-28 14:29:41 +0100
commit473ac91d71830e766efcfd4d75e45fda9abf977b (patch)
tree9df68bc74b36d3f018b3297c104baef2ad19aef2 /usr/share
parentb65a3e53191bd1e32281ee54a433e3dd1435a4fb (diff)
downloadmageiawelcome-473ac91d71830e766efcfd4d75e45fda9abf977b.tar
mageiawelcome-473ac91d71830e766efcfd4d75e45fda9abf977b.tar.gz
mageiawelcome-473ac91d71830e766efcfd4d75e45fda9abf977b.tar.bz2
mageiawelcome-473ac91d71830e766efcfd4d75e45fda9abf977b.tar.xz
mageiawelcome-473ac91d71830e766efcfd4d75e45fda9abf977b.zip
Don't wait browser closing after launched it (mga#17975)
Diffstat (limited to 'usr/share')
-rw-r--r--usr/share/mageiawelcome/mageiawelcome.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/share/mageiawelcome/mageiawelcome.py b/usr/share/mageiawelcome/mageiawelcome.py
index cbad80a..c980038 100644
--- a/usr/share/mageiawelcome/mageiawelcome.py
+++ b/usr/share/mageiawelcome/mageiawelcome.py
@@ -197,9 +197,9 @@ def main():
os.system("mkdir -p " + home + "/.mageiawelcome")
os.system("touch " + home + "/.mageiawelcome/norun.flag")
elif msg.startswith("http"):
- os.system("xdg-open " + msg)
+ subprocess.Popen(["xdg-open ", msg])
elif msg.startswith("irc"):
- os.system("xdg-open " + msg)
+ subprocess.Popen(["xdg-open ", msg])
elif msg.startswith("run"):
args = shlex.split(msg)
args.pop(0)