1
I have a command I'd like to run, which contains an executable and then a number of arguments. The executable in this case is Unreal Engine.
The command that I am wanting to run is something along these lines:
"C:\Program Files\Epic Games\UE_4.19\Engine\Binaries\Win64\UE4Editor.exe" "C:\Users\me\path\to\project\project.uproject"
If I create a shortcut to UE4Editor.exe and change it to include the argument, everything works fine.
However, if I put the above command into a .bat file, or run it on the Command Prompt (or PowerShell, or through Python), it gets part way through loading and then Suspends the Unreal Engine process.
This is what I see in Task Manager when it has suspended:
Any idea what could be causing this? Unreal Engine gives me a "loading" screen which gets to about 45% before it is suspended.
As previously mentioned, if I start the same command through a Shortcut, it starts fine.
Thanks
I found a tool called pssuspend (https://docs.microsoft.com/en-us/sysinternals/downloads/pssuspend) which I can use to resume the tasks, but that's obviously not a decent solution
– Hugh – 2018-07-13T14:31:31.867