体验新版 GitCode,发现更多精彩内容 >>
Escape strings so they're safe to pass to the shell. It's based on virsh's cmdEcho.