os/linux/pathutils

    Dark Mode
Search:
Group by:

Procs

proc sanitize_for_shells(path: string): string {...}{.raises: [], tags: [].}
Sanitize a given path so as to ensure it can be handled by a shell, which is probably bash or some derivative there-of. Only wraps them in single-quotes, so any vars will not be seen.