Skip to content

wezterm.shell_quote_arg(string)

Since: Version 20220807-113146-c2fee766

The functionality described in this section requires version 20220807-113146-c2fee766 of wezterm, or a more recent version.

Quotes its single argument using posix shell quoting rules.

> wezterm.shell_quote_arg("hello there")
"\"hello there\""