PEP 787: Safer subprocess usage using t-strings

True. A t-string can’t unambiguously split t"echo 'Hello, World!'" across platforms even with shell=False unless we document the splitting to always follow the shlex/bash logics, which may be counter-intuitive to some Windows users unfortunately.

In many real-world use cases where spaces and special characters are not part of the literal arguments of a command line though, I think t-string can still be a more readable option, and we may just have to document the limitations like we already do for shell=True in the Security Considerations section.

This sounds like an argument against PEP750: Template Strings (new updates) rather than this proposal though.