I have a python script that calls blender, my blender file, a python program performed in Blender, and 2 variables passed into the python script in blender.
The command looks like this.
subprocess.call(blender + ' ' + blenderFile + ' -P ' + ballSpinScript + ' -- ' + time + ' ' + efficiency)
I have confirmed that the variables all contain the correct paths. The discrepancy is occurring when I run on my local machine vs running on a server. On my machine it runs great. However, I have copied all the files over to a given server and it still runs but it takes much longer and outputs a warning that I am unsure of how to fix.
The warning is "Warning! Unable to find a pixel format that supports WGL_SWAP_COPY_ARB. Substituting one that uses WGL_SWAP_EXCHANGE_ARB.
I am not 100% sure if this is the issue (reason for the increased time to process), but it the only difference I am finding when the process is run.