How to continuously write output from Python Program running on a remote host (Raspberry Pi) executed with C# SSH.NET on local console?
问题 I'm writing a program in C# on my computer which should start a Python program on a remote Raspberry Pi. For the moment the Python code is just printing 'Hello' every second. The program should run permanently. When I start this program from C#, I would like to have a visual feedback, if my program is running – I'd like to see the printed output like in PuTTY. The following code works fine for a command like ls . But for the reason that my Python program test.py should not finish – I never