Skip to content

Commit 66ca190

Browse files
committed
Use shell in shared pathways service command
1 parent 19a2803 commit 66ca190

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pathwaysutils/experimental/shared_pathways_service/run_workload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ def run_command(
133133
):
134134
logging.info("Connection established. Running command: %r", command)
135135
try:
136-
command_args = shlex.split(command)
137-
subprocess.run(command_args, check=True, env=os.environ.copy())
136+
#command_args = shlex.split(command)
137+
subprocess.run(command, shell=True, check=True, env=os.environ.copy())
138138
except subprocess.CalledProcessError:
139139
logging.error(
140140
"Command failed! Find the underlying error in the logs above, where"

0 commit comments

Comments
 (0)