def run_cmd(call, cmd, *, echo=True, **kwargs):
if echo:<EOL><INDENT>print('<STR_LIT>' + '<STR_LIT:U+0020>'.join(map(pipes.quote, cmd)))<EOL><DEDENT>return call(cmd, **kwargs)<EOL>
Run a command and echo it first