From 9a7565ceec0d4de63f957a3bb6f6cd8843b05144 Mon Sep 17 00:00:00 2001 From: Nicolas ESTRADA Date: Wed, 28 Feb 2024 14:00:53 +0100 Subject: [PATCH] fix: command arguments need to be split --- contents/pods-run-script.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contents/pods-run-script.py b/contents/pods-run-script.py index 00d379c..eac773b 100644 --- a/contents/pods-run-script.py +++ b/contents/pods-run-script.py @@ -124,7 +124,8 @@ def main(): if 'RD_CONFIG_ARGUMENTS' in os.environ: arguments = os.environ.get('RD_CONFIG_ARGUMENTS') - exec_command.append(arguments) + for arg in arguments.split(" "): + exec_command.append(arg) log.debug("running script %s", exec_command)