How to run UE in headless mode?

Hi,
I have an application (.exe), a simulator which generates data. The data is the screenshots taken of the scene in the viewport. Can we run this application headlessly on GCP and just get the output in the form of screenshots without having to interact with the UI?

Thanks

If I’m understanding your question correctly, you could package the UE project with it running in such a way that it produces your data at the right times.

I had a project where I had to run UE from within PowerPoint, so I added some code to UE4 to pass in an HWND pointer that it then used for it’s rendering. I was also able to add HWND message handlers using the windows custom msg to control the UE project from within PowerPoint. Perhaps something like that would also work for your project?