Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site noscvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!sdcrdcf!sdcsvax!noscvax!johnson From: johnson@noscvax.UUCP (Timothy A. Johnson) Newsgroups: net.lang.pascal,net.micro,net.micro.pc Subject: DOS EXEC FUNCTION CALL Message-ID: <1@noscvax.UUCP> Date: Fri, 30-Aug-85 18:18:27 EDT Article-I.D.: noscvax.1 Posted: Fri Aug 30 18:18:27 1985 Date-Received: Thu, 5-Sep-85 07:24:22 EDT Distribution: net Organization: Naval Ocean Systems Center, San Diego Lines: 12 Xref: watmath net.lang.pascal:347 net.micro:11813 net.micro.pc:5198 I am trying to write a procedure in TURBO Pascal which will use the DOS EXEC function call, 4BH, to execute a child program and return to the caller. I get to the child alright, but upon return, the screen goes crazy and the keyboard locks up. I'm using the TURBO procedure MSDOS to do the EXEC call. Does anyone out there have any suggestions as to how to regain proper control? Thanks. Tim Johnson Computer Sciences Corporation