aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-24 10:14:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-24 10:14:42 -0300
commit329cc3148e61e150aa26a0fc7b0273a09349dae1 (patch)
tree8bc99f0e2451bb98f2afc4c9db6e49df700cd1ef
parentaf4fb8de29d3f35ae82eee80629901a306148e88 (diff)
downloadfinder-329cc3148e61e150aa26a0fc7b0273a09349dae1.tar.gz
finder-329cc3148e61e150aa26a0fc7b0273a09349dae1.tar.bz2
Fix: plugin: opener: file: xdg: pipe outputs to buffers
-rw-r--r--packages/finder/plugin/opener/file/xdg.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/finder/plugin/opener/file/xdg.py b/packages/finder/plugin/opener/file/xdg.py
index 9f2fcca..9c4f2a5 100644
--- a/packages/finder/plugin/opener/file/xdg.py
+++ b/packages/finder/plugin/opener/file/xdg.py
@@ -25,4 +25,8 @@ class FinderPluginFileXdgOpener():
pass
def open(self, file):
- process = subprocess.Popen(['xdg-open', file])
+ process = subprocess.Popen(
+ ['xdg-open', file],
+ stdout=subprocess.PIPE,
+ stderr=subprocess.PIPE,
+ )