Detecting when a child process is waiting for input Detecting when a child process is waiting for input python python