Skip to content

Commit c9f0322

Browse files
committed
removing byte encoding from arguments passed to subprocess
1 parent e67ce7c commit c9f0322

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
@@ -202,7 +202,7 @@ def _execute(self, runtime, env, rm_tmpdir=True, move_outputs="move"):
202202
os.makedirs(dn)
203203
stdout_path = absout
204204

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

0 commit comments

Comments
 (0)