[net.lang.pascal] DOS EXEC FUNCTION CALL

johnson@noscvax.UUCP (Timothy A. Johnson) (08/31/85)

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