I\'m trying to run a sub processes and watching his stdout until I find desirable string. this is my code:
def waitForAppOutput(proc, word): for stdout_li