about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/ext/spawn.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/ranger/ext/spawn.py b/ranger/ext/spawn.py
index d4590c48..c237d88a 100644
--- a/ranger/ext/spawn.py
+++ b/ranger/ext/spawn.py
@@ -4,7 +4,10 @@
 from __future__ import (absolute_import, division, print_function)
 
 from os import devnull
-from subprocess import Popen, PIPE, CalledProcessError
+from subprocess import PIPE, CalledProcessError
+
+from ranger.ext.popen23 import Popen23
+
 ENCODING = 'utf-8'
 
 
@@ -28,11 +31,11 @@ def check_output(popenargs, **kwargs):
     kwargs.setdefault('shell', isinstance(popenargs, str))
 
     if 'stderr' in kwargs:
-        with Popen(popenargs, **kwargs) as process:
+        with Popen23(popenargs, **kwargs) as process:
             stdout, _ = process.communicate()
     else:
         with open(devnull, mode='w') as fd_devnull:
-            with Popen(popenargs, stderr=fd_devnull, **kwargs) as process:
+            with Popen23(popenargs, stderr=fd_devnull, **kwargs) as process:
                 stdout, _ = process.communicate()
 
     if process.returncode != 0:
06-24 21:44:18 -0700 committer Kartik Agaram <vc@akkartik.com> 2021-06-24 21:46:45 -0700 .' href='/akkartik/mu/commit/html/ex9.mu.html?h=hlt&id=ec32c11d3bde6772ddd250d3b217e0541409e0ce'>ec32c11d ^
52e3ea8a ^
3120f938 ^
dc5a0acf ^

3120f938 ^

372367f5 ^
52e3ea8a ^
372367f5 ^

78357b88 ^
52e3ea8a ^
78357b88 ^
52e3ea8a ^
372367f5 ^
3120f938 ^


52e3ea8a ^
3120f938 ^




























78357b88 ^
3120f938 ^



a8fb537a ^
78357b88 ^
3120f938 ^





a8fb537a ^
3120f938 ^




78357b88 ^
3120f938 ^
dd60caa3 ^
d89a9ec5 ^
3120f938 ^
372367f5 ^
3120f938 ^

dd60caa3 ^
78357b88 ^
d89a9ec5 ^
3120f938 ^

372367f5 ^
dd60caa3 ^
3120f938 ^
78357b88 ^
3120f938 ^

78357b88 ^
3120f938 ^

















1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115