[Gambas-user] Propper way to kill a runnin process

M0E Lnx m0e.lnx at ...626...
Mon Mar 10 14:51:24 CET 2008


I have on my vpackager application one shell process that run on
several stages. I have a function that constantly checks the output of
this process for "keywords" that if found, need to immediately kill
the process. Here is how I'm killing the process

PUBLIC SUB ABORT_PROCESS()
IF instr(sBuffer, "FAILED") > 0 THEN
   IF hMyProc.State = Process.Running THEN




More information about the User mailing list