STINNER Victor <vstinner at python.org> added the comment: See also bpo-26124: "shlex.quote and pipes.quote do not quote shell keywords". ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue42641> _______________________________________