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

Function executeCommand

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

Source from the content-addressed store, hash-verified

149 stde = None
150 stdo = None
151 def executeCommand():
152 global currCommandProcess
153 global stdo
154 global stde
155 try:
156 stdo, stde = currCommandProcess.communicate()
157 printLog('stdout:\n'+str(stdo))
158 printLog('stderr:\n'+str(stde))
159 except:
160 printLog("ERROR: UNKNOWN Exception - +checkWinTimeOutPut()::executeCommand()")
161
162 currCommandProcess = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE,shell=True)
163 thread = Thread(target=executeCommand)

Callers

nothing calls this directly

Calls 1

printLogFunction · 0.85

Tested by

no test coverage detected