[issue44105] tempfile.TemporaryDirectory deleted after call to subprocess.run in threads

2021-05-10 Thread Colas Le Guernic
Change by Colas Le Guernic : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue44105] tempfile.TemporaryDirectory deleted after call to subprocess.run in threads

2021-05-10 Thread Colas Le Guernic
New submission from Colas Le Guernic : Yet another weird bug when one creates sub-processes from threads. I found several issues mentioning ThreadPoolExecutor and subprocess.run but I believe this one is different. When creating a temporary directory with tempfile.TemporaryDirectory (with or