don't use system
svn: r5513
This commit is contained in:
1 parent
b3ffa736ec
commit
29eecb3aa9
1 file changed
+2
-1
@@ -43,7 +43,8 @@ def run_browser(url):
|
||||
for path in search:
|
||||
prog = os.path.join(path,browser)
|
||||
if os.path.isfile(prog):
|
||||
os.system("%s %s" % (prog, url))
|
||||
if os.fork() == 0:
|
||||
os.execvp(prog,[prog, url])
|
||||
return
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user