[issue35635] asyncio.create_subprocess_exec() only works in main thread

Stefan Seefeld report at bugs.python.org
Fri Jan 4 21:14:10 EST 2019


Stefan Seefeld <stefan at seefeld.name> added the comment:

That's quite an unfortunate limitation ! I'm working on a GUI frontend to a Python tool I wrote using asyncio, and the GUI (Qt-based) itself insists to run its own event loop in the main thread.

I'm not sure how to work around this limitation, but I can report that my previously reported strategy appears to be working well (so far).

What are the issues I should expect to encounter running an asyncio event loop in a worker thread ?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35635>
_______________________________________


More information about the Python-bugs-list mailing list