I'm trying to execute a process with Popen() and then collect its stdout line by line (not all lines at once after the process finishes) and send each line to the client. So far this code does not do ...
In python subprocess module you can execute any shell command in python command. but some it was hanged because did not respond. so we want some kind of timeout.