MCPcopy Index your code
hub / github.com/nodejs/node / EscapeCommand

Function EscapeCommand

tools/test.py:242–251  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

240
241
242def EscapeCommand(command):
243 parts = []
244 for part in command:
245 if ' ' in part:
246 # Escape spaces. We may need to escape more characters for this
247 # to work properly.
248 parts.append('"%s"' % part)
249 else:
250 parts.append(part)
251 return " ".join(parts)
252
253
254class SimpleProgressIndicator(ProgressIndicator):

Callers 3

GetFailureOutputMethod · 0.85
HasRunMethod · 0.85
MainFunction · 0.85

Calls 2

appendMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…