If you attempt to launch a CustomEXE with the main wrapper or other CustomEXE open, both applications immediately quits, Error prints:
2012-03-15 13:45:23.811 Wineskin[8323:707] Starting specified executable in Wine
2012-03-15 13:45:23.902 Wineskin[8323:707] Wineserver running on PID 7944
2012-03-15 13:45:23.908 Wineskin[8323:707] Sleeping and monitoring from the background while app runs...
ps: Invalid process id: wineserver
ps: illegal argument: running
usage: ps [-AaCcEefhjlMmrSTvwXx] [-O fmt | -o fmt] [-G gid[,gid...]]
[-g grp[,grp...]] [-u [uid,uid...]]
[-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
2012-03-15 13:45:25.262 Wineskin[8323:707] Application finished, cleaning up and shut down...
Fix: In Wineskin.m, found that a function is returning an error message rather then the WineskinX11 PID that another conditional is expecting.
specifically in sleepAndMonitor
//if WineskinX11 is no longer running, tell wineserver to close
if (![self isPID:x11PID named:@"WineskinX11"])
x11PID equals string "wineserver running from previous launch, not relaunching WineskinX11" and not the PID in this case. Changed function to read and return current PID from file instead and program works as expected. Patch attached.