MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / executeCommand

Function executeCommand

src/scripts/perf/measurePerformance.py:180–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178 stde = None
179 stdo = None
180 def executeCommand():
181 global currCommandProcess
182 global stdo
183 global stde
184 try:
185 stdo, stde = currCommandProcess.communicate()
186 printLog('stdout:\n'+str(stdo))
187 printLog('stderr:\n'+str(stde))
188 except:
189 printLog("ERROR: UNKNOWN Exception - +checkWinTimeOutPut()::executeCommand()")
190
191 currCommandProcess = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
192 thread = Thread(target=executeCommand)

Callers

nothing calls this directly

Calls 1

printLogFunction · 0.85

Tested by

no test coverage detected