summaryrefslogtreecommitdiffstats
path: root/usr/share
diff options
context:
space:
mode:
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)