I'm successfully launching Factorio through steam on windows via
steam -applaunch 427520
but unfortunately, I need the stdout for the project I'm working on and the steam process that this command starts exits leaving me with no stdout. I've also launched Factorio directly, but then all I get on the stdout is:
0.000 Initializing Steam API.
0.000 Steam requires game restart, restarting...
And then nothing...
When I launch the non-steam version I can successfully get all sorts of output from stdout. Is steam hijacking the stdout, and if so where can I find it?
Additional testing I've done includes sending extra parameters to Factorio
steam -applaunch 427520 --version
Seems to work in that the game doesn't start, and it doesn't return an error like it does with an unknown parameter, but I don't know where the output is being sent. Launching the game directly with the version parameter returns:
Version: 1.1.59 (build 59719, win64, steam)
Binary version: 64
Map input version: 0.18.0-0
Map output version: 1.1.59-0
Similar tests should be possible with the demo which has appid 452280