MCPcopy Create free account
hub / github.com/ElementsProject/elements / ShellEscape

Function ShellEscape

src/util/system.cpp:1294–1299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1292
1293#ifndef WIN32
1294std::string ShellEscape(const std::string& arg)
1295{
1296 std::string escaped = arg;
1297 boost::replace_all(escaped, "'", "'\"'\"'");
1298 return "'" + escaped + "'";
1299}
1300#endif
1301
1302#if HAVE_SYSTEM

Callers 2

AddToWalletMethod · 0.85
FUZZ_TARGETFunction · 0.85

Calls

no outgoing calls

Tested by 1

FUZZ_TARGETFunction · 0.68