MCPcopy Create free account
hub / github.com/comaps/comaps / ps_dash_w

Method ps_dash_w

tools/python/test_server/server/SiblingKiller.py:138–141  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

136
137
138 def ps_dash_w(self):
139 not_header = lambda x: x and not x.startswith("UID")
140 output = self.exec_command("ps -f").split("\n")
141 return list(filter(not_header, list(re.sub("\s{1,}", " ", x.strip()) for x in output)))
142
143
144 def wait_for_server(self):

Callers 1

__init__Method · 0.95

Calls 2

exec_commandMethod · 0.95
subMethod · 0.45

Tested by

no test coverage detected