3 ms·
My proposal: shell('echo '+shlex.quote(f'Hello, {user}')) i.e. never quote any (non-constant?) shell args by hand.
by oasisaimlessly 2y ago
My proposal:
shell('echo '+shlex.quote(f'Hello, {user}'))
i.e. never quote any (non-constant?) shell args by hand.