fix launch routine

svn: r6230
This commit is contained in:
Don Allingham
2006-03-30 03:24:04 +00:00
parent 8a4302a1af
commit eb76d53d9e
3 changed files with 40 additions and 11 deletions

View File

@@ -2004,9 +2004,5 @@ class BackRefModel(gtk.ListStore):
yield True
yield False
def launch(prog,path):
print prog, path
os.spawnvpe(os.P_NOWAIT, prog, [ prog, path], os.environ)
def make_launcher(prog, path):
return lambda x: launch(prog, path)
return lambda x: Utils.launch(prog, path)