Multiple sumultaneous long running processes from single configuration

Completed

Is there a way to run multiple long running scripts simultaneously from a single run configuration?

I have a Django app that relies on queues with multiple consumers that run continuously. I have a separate Run Configuration set up for the Django application and all the the consumers (5 in total) and currently have to start each one independently. Can I set up using the "Before Launch" window at the bottom of the Run Configuration dialog to run all 5 commands? If I try to do that right now, it doesn't start the second command until the first is done but because they are queue consumers they're effectively never done so the second one never starts. I would like them to all run continuously without having to start each one independently.

0
1 comment
Avatar
Permanently deleted user

Apparently PyCharm does not support this feature itself but I found a plugin to handle it

https://plugins.jetbrains.com/idea/plugin/7248-multirun

1

Please sign in to leave a comment.