MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / run

Method run

tests/case_script.py:35–37  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

33 self.timeout = timeout
34
35 def run(self):
36 self.p = subprocess.Popen(shlex.split(self.cmd), stderr=subprocess.PIPE, stdout=subprocess.PIPE)
37 self.out, self.err = self.p.communicate()
38
39 def execute(self):
40 """Execute python script in other process.

Callers 3

checkpoint-prof.pyFile · 0.45
iFunction · 0.45
kbFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected