dialog fixes, replace fork with spawn

svn: r6226
This commit is contained in:
Don Allingham
2006-03-29 22:51:27 +00:00
parent 9d13b0783d
commit 071ae0ac9a
10 changed files with 152 additions and 520 deletions

View File

@ -44,8 +44,7 @@ def run_browser(url):
for path in search:
prog = os.path.join(path,browser)
if os.path.isfile(prog):
if os.fork() == 0:
os.execvp(prog,[prog, url])
os.spawnvpe(os.P_NOWAIT, prog, [prog, url], os.environ)
return