MCPcopy Index your code
hub / github.com/pythonprofilers/memory_profiler / get_cmd_line

Function get_cmd_line

mprof.py:176–180  ·  view source on GitHub ↗

Given a set or arguments, compute command-line.

(args)

Source from the content-addressed store, hash-verified

174
175
176def get_cmd_line(args):
177 """Given a set or arguments, compute command-line."""
178 blanks = set(' \t')
179 args = [s if blanks.isdisjoint(s) else "'" + s + "'" for s in args]
180 return ' '.join(args)
181
182def find_first_process(name):
183 for i in mp.psutil.process_iter():

Callers 1

run_actionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected