auto restart an app within wine
I am trying to create a little script that will restart a wine app when it stopped running or was accidentally closed.
So far I have this
#!/usr/local/bin/bash [ -z "`ps ax | grep Poker | grep -v grep`" ] && /usr/local/bin/wine ~/.wine/drive_c/Program\ Files/applications/application.exe
I know the app is running because ps is showing me the same info as when manually starting the app.
Is there anyone that can shed some light on what I can try next to make this work?
|Thread||Thread Starter||Forum||Replies||Last Post|
|Wine: Your Experiences||ninjatux||Off-Topic||10||2 Weeks Ago 12:48 PM|
|Auto-YES?||wubrgamer||FreeBSD Ports and Packages||7||24th September 2008 01:58 PM|
|Auto backup||cwhitmore||FreeBSD General||6||19th August 2008 05:17 PM|
|DSL auto login||Weaseal||FreeBSD General||3||17th June 2008 03:26 PM|
|Customizeable FTP auto-fetch script (OpenBSD snapshot download as example)||J65nko||Guides||2||1st June 2008 03:29 AM|