Re: Keep wine resident

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Sleep().

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.)

Andrew




[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux