Skip to content

Commit bfe5fff

Browse files
kapilkd13manu-chroma
authored andcommitted
removing byte encoding from arguments passed to subprocess
1 parent a6dc84b commit bfe5fff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def _execute(self, runtime, env, rm_tmpdir=True, move_outputs="move"):
207207
os.makedirs(dn)
208208
stdout_path = absout
209209

210-
commands = [Text(x).encode('utf-8') for x in runtime + self.command_line]
210+
commands = [Text(x) for x in (runtime + self.command_line)]
211211
job_script_contents = None # type: Text
212212
builder = getattr(self, "builder", None) # type: Builder
213213
if builder is not None:

0 commit comments

Comments
 (0)