[Wine] Keep wine resident

Andrew Udvare audvare at gmail.com
Mon Feb 29 17:29:07 CST 2016

On 28/02/16 12:01, Seth Hill wrote:
> Hello all, 
> Is there a way to instruct wine to stick around after a program has run? Alternatively, is there a way to “boot” a wine prefix and keep it running? 

No booting, but why not just fork a background task that does not use a
GUI to keep Wine going forever? As long as they are using the same
prefix, the prefix will be 'up' for that time.

winegcc something simple, like a task that just loops forever and calls

wine sleeper.exe.so &
sleeper_pid=$! # Alternative have the sleeper write its PID to a file

Once the script is done, kill the sleeping task.

(There might be a more efficient way to write a 'daemon' for Windows
than calling Sleep() in a never-ending loop.)


More information about the wine-users mailing list