|
@@ -17,7 +17,7 @@ ranger/ext/rifle.py:
|
|
|
however termite expects the entire cmd as one single param
|
|
|
"""
|
|
|
|
|
|
-import pipes
|
|
|
+import shlex
|
|
|
import subprocess
|
|
|
import sys
|
|
|
|
|
@@ -25,5 +25,5 @@ assert sys.argv[1] == '-e', sys.argv
|
|
|
|
|
|
subprocess.call([
|
|
|
'termite',
|
|
|
- '--exec={}'.format(' '.join(pipes.quote(p) for p in sys.argv[2:])),
|
|
|
+ '--exec={}'.format(' '.join(shlex.quote(p) for p in sys.argv[2:])),
|
|
|
])
|