I have a problem with a part of my code when running on linux in headless mode. The code works as expected when run in the GUI or using the -batch option. I have tried many different things (making the number an int, running the value with &startingImage, etc.) to no luck?
I didn't find the right solution from the Internet.