Skip to content

Commit

Permalink
Quote command for science container
Browse files Browse the repository at this point in the history
  • Loading branch information
ponyisi committed Dec 4, 2024
1 parent 90e0196 commit 01d44b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion servicex_app/servicex_app/transformer_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def create_job_object(request_id, image, rabbitmq_uri, workers,
if result_destination == 'volume':
TransformerManager.create_posix_volume(volumes, volume_mounts)

science_command = " "
science_command = '"'
if x509_secret:
science_command = "until [ -f /servicex/output/scripts/proxy-exporter.sh ];" \
"do sleep 5;done &&" \
Expand All @@ -210,6 +210,8 @@ def create_job_object(request_id, image, rabbitmq_uri, workers,
"{TL} ".format(TL=transformer_language) + \
"{TC} ".format(TC=transformer_command) + \
watch_path

science_command += '"'

if result_destination == 'volume':
sidecar_command += " --output-dir " + os.path.join(
Expand Down

0 comments on commit 01d44b7

Please sign in to comment.