from hestia.string_utils import strip_spaces


def get_pod_command_args(run_config, use_args=True):
    if use_args:
        return ["/bin/bash", "-c"], run_config.cmd

    if not run_config or not run_config.cmd:
        raise ValueError('The specification must contain a command.')

    cmd = strip_spaces(value=run_config.cmd, join=False)
    cmd = [c.strip().strip('\\') for c in cmd if (c and c != '\\')]
    cmd = [c for c in cmd if (c and c != '\\')]
    return cmd, []

@@ -146,16 +146,17 @@
  %22-c%22%5D, 
+%5B
 run_conf
@@ -161,16 +161,17 @@
 nfig.cmd
+%5D
 %0A%0A    if

Fix pod args