Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!bywater!arnor!peperoni!thierry From: thierry@watson.ibm.com (Thierry Samama) Newsgroups: comp.os.os2.programmer Subject: Re: questions on os/2 Message-ID: <1991Apr1.153428.13292@watson.ibm.com> Date: 1 Apr 91 15:28:52 GMT References: <1991Mar29.141629.9239@hubcap.clemson.edu> Sender: thierry@peperoni Reply-To: samama@ibm.com Organization: IBM Watson OS/2 Applications and Tools Lines: 16 News-Software: NewsKit 1.1 + LaMail 2.0 In <1991Mar29.141629.9239@hubcap.clemson.edu>, ibmman@eng.clemson.edu ((the) IBMMAN) writes: > >We have a utility called KILL.EXE which simply calls DosKillProcess. It >has never failed for me. > DosKillProcess only "flags the process to terminate", according to the OS/2 1.2 CP Reference. So if the process has set a signal handler for SIGTERM (using DosSetSigHandler) and the signal handler refuses to yield, the process will not terminate. To the best of my knowledge, there is no way to work around this. ----------------------------------------------------------------------------- Thierry Samama (914) 945-2282 SAMAMA at YKTVMZ samama@ibm.com IBM T.J. Watson Research Center, PO Box 218, Yorktown Heights, NY 10598 -----------------------------------------------------------------------------