Hi friends.
I'm ussing some simple bash scripts to launch many "old" directx portable games using Wine, (games launched with EmulationStation):
#!/bin/bash
cd "path/of/th/game"
wine executable.exe
My problem is that after exits a game some process must be open, and do not able to me to suthdown the computer (sometimes cannot exit the game with ESC or ATL+F4), especially when I update to WineHQ 7.x versions.
So, what I could add to my bash script launcher to kill all wine process on exit (after pressing ALT + F4)? I'd like to get a very consistent launcher.
Many thanks in advice.
How to kill all Wine process exiting an script
Re: How to kill all Wine process exiting an script
You can stop (kill) all Wine processes with winserver -k