mirror of
https://git.deluge-torrent.org/deluge
synced 2025-09-07 02:25:35 +00:00
Tweaks to process open code.
This commit is contained in:
parent
897d394581
commit
5dafdc95df
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue