Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!uflorida!haven!umd5!terminus.umd.edu!dzoey From: dzoey@terminus.umd.edu (Joe I. Herman) Newsgroups: comp.windows.ms Subject: Winexec Message-ID: <7140@umd5.umd.edu> Date: 20 Aug 90 20:09:10 GMT Sender: news@umd5.umd.edu Lines: 13 Hello, I have an App which calls winexec() to execute a DOS task. The problem I'm running into is that I don't know when the DOS task ends. It seems winexec returns immediately (on a 386) and doesn't seem to provide a handle to the new process. I don't need to communicate with the DOS task, I just need to know when it finishes. Any help or ideas would be appreciated. Adthanksvance, Joe Herman dzoey@terminus.umd.edu -- "Everything is wonderful until you know something about it."