Writing Bash scripts in Rhai is somewhat uncomfortable when it comes to Bash's ${VAR} syntax:
cmake .. ${cmake_args[@]}
ninja
Currently I have to write
let script = `
cmake .. ${"${cmake_args[@]}"}
ninja
`;
Could there be some forms of escaping this syntax, either double dollar sign ($$) similar to writing back-ticks (``), or a more general escape pattern that includes \$ (or more broadly, \`)?
Writing Bash scripts in Rhai is somewhat uncomfortable when it comes to Bash's
${VAR}syntax:cmake .. ${cmake_args[@]} ninjaCurrently I have to write
Could there be some forms of escaping this syntax, either double dollar sign (
$$) similar to writing back-ticks (``), or a more general escape pattern that includes\$(or more broadly,\`)?