This is expected, Steam runs the given command line and waits for it to finish. If it doesn't finish then the 'game' is still running. %command% is just a text-replacement option, it doesn't direct Steam to monitor a subprocess.
@Tea23, and to your original question, does adding a & after 'compton' fix it? That makes it go into the background.
Making the command:
killall compton && %command% && nohup compton &
Might solve your problem. (The `nohup' prevents compton from quitting when Steam quits.)
Nothing extracted yet.
I experimented with launch options and trying to kill compton (a compositing manager for window managers like Openbox). So I set the launch options for one game to be
killall compton && %command% && compton. In theory this would kill compton, run the game and then run compton again - and it works a treat.Except Steam latches on to the
comptonprocess and continues to count me as in-game for as long as it's running.You can combine this with anything. Maybe you run
gdb %command%to try and debug your game. The game itself quits, butgdbhangs your Steam status.