I would like to use multiprocessing module in python to use more cores in process that I can split to independent parts.
I create a small script. Running it in Pro works (but open a CMD window) and I could publish it to the server.
It does not work on the server and gives no error message.
Second test that I tried is to write a python that uses multiprocessing. Then create a short bat file that call this script.
Then my main script in pro just do os.system(bat file).
Again, runs in Pro, published with no comments but does not run on server.
Found this: https://community.esri.com/t5/python-questions/usage-of-multiprocessing-in-a-python-based/m-p/50820#M4017 from few years back with no answer.
Anybody have an idea?
Thanks