Remix.run Logo
Safe ways to do things in bash (2023)(github.com)
33 points by gautamsomani 3 days ago | 1 comments
hun3 2 days ago | parent [-]

In Python, `shlex` has utilities for quoting and tokenizing strings for POSIX shells.

> Documentation: https://docs.python.org/3/library/shlex.html

(Windows users: CMD is hopeless. Sorry. Try powershell.)