Noticed this issue while using native service:
Basically, when a string for environment / launch command contains chars like ", /, `: it needs to be escaped twice.
The first time is from json spec, because of json accept double quote only, it needs an escape.
The second time is from launch container, what we did for command line is: (ContainerLaunch.java)
And for environment:
An example of launch_command:
And example of environment:
To improve usability, I think we should auto escape the input string once. (For example, if user specified
We will automatically escape it to: