Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!ames!vsi1!ubvax!yeh From: yeh@ubvax.UB.Com (David Yeh) Newsgroups: comp.os.os2.programmer Subject: questions on os/2 Message-ID: <39443@ubvax.UB.Com> Date: 29 Mar 91 01:37:47 GMT Reply-To: yeh@ubvax.ub.com.UUCP (David Yeh) Organization: Ungermann-Bass Enterprises Lines: 19 Hi, I am a new OS/2 programmer, and I have two questions here: 1. Is there any way to kill an OS/2 process which is currently blocking? I have tried the following methods but they all failed: a. close the window; b. using "kill" in ps utility; c. using DosKillProcess(). 2. Is there any function calls in OS/2 performing exactly the same functionality as "fork()" does in UNIX? I have used DosExecPgm(), spawn(), but the child process they created did not really inherit everything its parent process has. Thanks a lot, David