How to close nicely a wine application from script

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

 



I need to close nicely (i.e. just like pressing the x button on the window) a wine application (in this case uTorrent) from a script. I tried something like this:

kill -N `pgrep uTorrent.exe`

but no matter which signal number I use, it appears that the process is terminated badly. When it is restarted, uTorrent checks the started torrents, just like it does when it crashes. The same happens if I try ending wineserver (I couldn't do it anyway like this, because I have other wine processes running).

Is there a way to simulate a "clean" close from a script?

Thank you!







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

  Powered by Linux