Tweaks to process open code.
This commit is contained in:
parent
897d394581
commit
5dafdc95df
|
@ -55,7 +55,7 @@ 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.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…
Reference in New Issue