summaryrefslogtreecommitdiffstats
path: root/share/extensions/webbrowser_commandline.py
diff options
context:
space:
mode:
Diffstat (limited to 'share/extensions/webbrowser_commandline.py')
-rwxr-xr-xshare/extensions/webbrowser_commandline.py15
1 files changed, 13 insertions, 2 deletions
diff --git a/share/extensions/webbrowser_commandline.py b/share/extensions/webbrowser_commandline.py
index 5f91e4372..33bc4b1df 100755
--- a/share/extensions/webbrowser_commandline.py
+++ b/share/extensions/webbrowser_commandline.py
@@ -1,3 +1,14 @@
#!/usr/bin/env python
-import webbrowser
-webbrowser.open("http://inkscape.org/doc/inkscape-man.html")
+import webbrowser, threading
+url = "http://inkscape.org/doc/inkscape-man.html"
+
+class VisitWebSiteWithoutLockingInkscape(threading.Thread):
+ def __init__(self, url):
+ self.url = url
+ threading.Thread.__init__ (self)
+
+ def run(self):
+ webbrowser.open(self.url)
+
+vwswli = VisitWebSiteWithoutLockingInkscape(url)
+vwswli.start()