Re: [staf-users] Stopping a Process under Win

2009-01-14 Thread George Flaherty
I ran into this problem before and what I did to get around this (although not pretty) was to use powershell as the default STAF shell on all of our windows based servers by the following modification in the STAF.cfg: #Customized for just Win based platforms to be powershell SET DEFAULTSHELL "C:

Re: [staf-users] Stopping a Process under Win

2009-01-14 Thread Sharon Lucas
As STAF is open source, so you can see for yourself what STAF does when terminating a process using the WM_CLOSE option. You can do a CVS browse of STAF source code. Go to http://staf.cvs.sourceforge.net/staf/ and click on: src staf stafif win32 STAFProcess.cpp. Click

Re: [staf-users] Stopping a Process under Win

2009-01-13 Thread Nikunj Verma
Hi Eric, Though I am not an STAF/Python/Windows expert, I have some experience of handling some problems you have mentioned here. My two cents are here. You have 3 options: 1. Send kill to your primary slave process. Trap this signal in that slave process so that it can terminate all the spawned