We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c72732 commit a0a5a89Copy full SHA for a0a5a89
tmuxp/util.py
@@ -32,7 +32,7 @@ def run_before_script(script_file):
32
"""Function to wrap try/except for subprocess.check_call()."""
33
try:
34
proc = subprocess.Popen(
35
- shlex.split(script_file.encode('ascii')),
+ shlex.split(str(script_file)),
36
stderr=subprocess.PIPE
37
)
38
proc.wait()
0 commit comments