You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows the function SshContext.popen pops up an empty command window. The reason is the strange behaviour of the Windows console. The documentation about it is sparse, so it might be difficult for some user to get rid of it. The solution is to start the console command as if it would be a GUI application and then to hide the main window.
This can be accomplished by passing a special startupinfo to subprocess.popen in case the platform is Windows.
The additional parameter startupinfo=None should not hurt on other platforms. I have tested it under Linux.
It would be nice if there lines could be added to ssh.py so that the use is easier for user running Windows.
On Windows the function SshContext.popen pops up an empty command window. The reason is the strange behaviour of the Windows console. The documentation about it is sparse, so it might be difficult for some user to get rid of it. The solution is to start the console command as if it would be a GUI application and then to hide the main window.
This can be accomplished by passing a special startupinfo to subprocess.popen in case the platform is Windows.
The additional parameter startupinfo=None should not hurt on other platforms. I have tested it under Linux.
It would be nice if there lines could be added to ssh.py so that the use is easier for user running Windows.
rpyc/utils/ssh.py:
The text was updated successfully, but these errors were encountered: