Yes I saw that, I reproduced your setup and got the same result.
I found the code for it
scene.display_settings.display_device = ‘None’
I added this line in the write_probes.py in the setup_envmap_render() function.
It is just a first step as it works well with simple color background but it doesn’t work with .jpeg environment texture yet. And the Background Strength Node doesn’t work fully either, but I’ll work on it.
Note: I found that setting the “Gamma” value to 0.45 in Blender gives the same results as changing the “Display Device” to “None”… This might be good to know…