← Back to team overview

anvil-dev team mailing list archive

[Devstackpy] execute_template() shell argument

 

Joshua,

The utils.execute_template() function and the execute() function in the shell module use a "shell" flag and treat the incoming command differently. That's causing some confusion with the db commands like grant_all, since the commands have some funky quote escaping. Is there any reason to parse that command line, substitute values in the individual parts, then re-assemble it to a single big string before executing it? I could either skip the parsing, or skip the reassembly, but I wasn't sure why it ended up the way it is now so I wasn't sure which way to go.

I'll be on IRC tomorrow if my question is too vague to make sense. :-)

Doug


Follow ups