You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that I have a computer with eight cores, I'd like to be able to run the bot tests in parallel. Something like a command line option --cores N with would spawn up to N processes. Can this be done using the current subprocess framework, or would we need to use the multiprocessing module?
The text was updated successfully, but these errors were encountered:
I've been experimenting with multiprocessing module and the concern I'm having is running multiple threads will cause the printing messed up. I tried using locks but had no luck. Maybe because we are running from cmd2?
Subprocess has a check_output method which can grap whatever being printed on stdout and convert it to a string which might be useful.
Now that I have a computer with eight cores, I'd like to be able to run the bot tests in parallel. Something like a command line option
--cores N
with would spawn up toN
processes. Can this be done using the current subprocess framework, or would we need to use the multiprocessing module?The text was updated successfully, but these errors were encountered: