Rez version after 2.112.0 can not correctly parsing commandline with multiple nested quote escape.
Environment
- OS Ubuntu 20.04
- Rez version 2.112.0 - latest
- Rez python version 3.8
To Reproduce
execute a simple command line: rez-env -- eval "eval \"echo \\\"Hello World\\\"\""
Expected behavior
rez environment will launched and print out "Hello World"
Actual behavior
shell got these error:
/tmp/rez_context_kkcdbkat/rez-shell.sh: line 8: unexpected EOF while looking for matching `''
/tmp/rez_context_kkcdbkat/rez-shell.sh: line 10: syntax error: unexpected end of file