Skip to content

Commit 8625390

Browse files
authored
clean python exec path (#4241)
* clean python exec path * missing f
1 parent 71e5cb1 commit 8625390

File tree

1 file changed

+1
-2
lines changed
  • taskvine/src/bindings/python3/ndcctools/taskvine

1 file changed

+1
-2
lines changed

taskvine/src/bindings/python3/ndcctools/taskvine/task.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,8 +1004,7 @@ def disable_output_serialization(self):
10041004

10051005
def _python_function_command(self):
10061006
py_exec = "${PONCHO_PREFIX:+${PONCHO_PREFIX}/bin/}" + f"python{sys.version_info[0]}"
1007-
1008-
command = f"{py_exec} w_{self._id} f_{self._id} a_{self._id} o_{self._id}"
1007+
command = " ".join([py_exec, f"w_{self._id} f_{self._id} a_{self._id} o_{self._id}"])
10091008
return command
10101009

10111010
def _add_inputs_outputs(self, manager, func, args, kwargs):

0 commit comments

Comments
 (0)