Xpra-org / xpra

Persistent remote applications for X11; screen sharing for X11, MacOS and MSWindows.
https://xpra.org/
GNU General Public License v2.0
1.98k stars 169 forks source link

Fix starting stderr_reader as a thread in exec_client.py #4312

Closed alukichev closed 3 months ago

alukichev commented 3 months ago

When an ssh program is given with "--ssh" option, its stderr may be connected through a pipe. To manage reading the stream, a separate thread is started that has child process (ssh impl) as a parameter. Starting the thread, however, does not provide the corresponding argument, leading to an exception.

This fixes the exception by providing required argument.

totaam commented 3 months ago

Thanks!