don't use system
svn: r5513
This commit is contained in:
parent
b3ffa736ec
commit
29eecb3aa9
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user