MCPcopy Index your code
hub / github.com/python/cpython / shellQuote

Function shellQuote

Mac/BuildScript/build-installer.py:66–71  ·  view source on GitHub ↗

Return the string value in a form that can safely be inserted into a shell command.

(value)

Source from the content-addressed store, hash-verified

64 dump(path, fp)
65
66def shellQuote(value):
67 """
68 Return the string value in a form that can safely be inserted into
69 a shell command.
70 """
71 return "'%s'"%(value.replace("'", "'\"'\"'"))
72
73def grepValue(fn, variable):
74 """

Callers 12

library_recipesFunction · 0.85
extractArchiveFunction · 0.85
verifyThirdPartyFileFunction · 0.85
build_openssl_archFunction · 0.85
build_universal_opensslFunction · 0.85
buildRecipeFunction · 0.85
buildPythonDocsFunction · 0.85
buildPythonFunction · 0.85
packageFromRecipeFunction · 0.85
installSizeFunction · 0.85
buildDMGFunction · 0.85
setIconFunction · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…