There is a script p = subprocess.Popen('ssh 168.0.0.1 python subscribe.py command', shell=True)
it raises the Python script subscribe.py
, which returns data endlessly in a loop.
How can we not expect the implementation of the process, the more it is endless, and receive data from it?