Expand description
Command sanitization and escaping utilities
Provides functions for validating and escaping commands before SSH execution.
Functionsยง
- escape_
command_ for_ shell - Escape a command for safe execution in shell (for pkill -f patterns)
- escape_
for_ timeout_ wrapper - Escapes a command for safe inclusion inside single quotes in timeout wrapper
- sanitize_
command - Sanitize a command before execution
- wrap_
in_ posix_ shell - Wrap a command for execution via POSIX shell.