(processId)
| 18 | return output |
| 19 | |
| 20 | def isProcessRunning(processId): |
| 21 | nameProcess = processId |
| 22 | |
| 23 | lastChar = processId[len(processId)-1] |
| 24 | processId = processId[:-1] |
| 25 | processId = processId + '[' + lastChar + ']' |
| 26 | |
| 27 | output = findProcess( processId ) |
| 28 | |
| 29 | if nameProcess in output: |
| 30 | return True |
| 31 | else: |
| 32 | return False |
| 33 | |
| 34 | class interval(thread): |
| 35 | def __init__(self,period, callback,params=None): |
nothing calls this directly
no test coverage detected