Hey everyone, thanks so much for all the replies! I tried using `subprocess` with `communicate()` like a few of you suggested, and it’s working way better now. No more hanging issues so far.
I also checked out `psutil` and `tracemalloc`—those tools are awesome! Still figuring out `multiprocessing` for internal tasks, but I’ll give `concurrent.futures` a shot next.
One quick follow-up: anyone know how to handle shared resources between processes without causing deadlocks? I’m running into that now. Thanks again, you all rock!
I also checked out `psutil` and `tracemalloc`—those tools are awesome! Still figuring out `multiprocessing` for internal tasks, but I’ll give `concurrent.futures` a shot next.
One quick follow-up: anyone know how to handle shared resources between processes without causing deadlocks? I’m running into that now. Thanks again, you all rock!
