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

@ -596,8 +596,7 @@ def view_photo(photo):
args = prog.split()
args.append(photo.get_path())
if os.fork() == 0:
os.execvp(args[0],args)
os.spawnvpe(os.P_NOWAIT, args[0], args, os.environ)
def find_file( filename):
# try the filename we got