Tweaks to process open code.

This commit is contained in:
Alex Dedul 2007-08-09 19:44:38 +00:00
parent 897d394581
commit 5dafdc95df
2 changed files with 3 additions and 3 deletions

View File

@ -55,8 +55,8 @@ class FilesTabManager(FilesBaseManager):
convert_path_to_child_path(path)
file_name = self.file_store.get_value(
self.file_store.get_iter(child_path), 0)
os.system('%s "%s" &' % (self.file_viewer,
os.path.join(save_dir, file_name)))
os.popen4('%s "%s"' % (self.file_viewer,
os.path.join(save_dir, file_name)))
except KeyError:
pass

View File

@ -657,7 +657,7 @@ class DelugeGTK:
torrent_path = os.path.join(torrent_path,
file["path"].split("/", 1)[0])
os.system('%s "%s"' % (file_manager, torrent_path))
os.popen4('%s "%s"' % (file_manager, torrent_path))
except KeyError:
pass