Registry / utility / shell-escape

shell-escape

JSON →
library0.1.5rscratesunverified

Escape characters that may have a special meaning in a shell.

# Cargo.toml [dependencies] shell-escape = "0.1.5"
INSTALL
IMPORT
SIG · SHELL-ESCAPE
S
shell-escape
utilityrustv0.1.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

escape
use shell_escape::escape;

Escapes a string for safe use in a shell command.

use shell_escape::escape; fn main() { let input = "hello 'world'"; let escaped = escape(input); println!("{}", escaped); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
shell-escape — cargo add shell-escape · libregistry