An alternative idea:

Use the command intrinsic to invoke the run command. This usually is much
simpler and
one can pre-build the input script for the program like:

RUN ASKPLUS;stdin=myscript

IMHO, this method is easier to program, debug and support.

Mike Hornsby
[log in to unmask]


-----Original Message-----
From: frangois lefhvre <[log in to unmask]>
To: [log in to unmask] <[log in to unmask]>
Date: Monday, August 23, 1999 12:12 PM
Subject: activate intrinsic


>From an interactive menu, I have to start "ASKPLUS" in process handling
>mode. So, I use intrinsics :
>
>firstly, CREATE to create the  new process
>
>and for each askplus command :
>
>SENDMAIL to transmitt the askplus command
>and ACTIVATE to execute the command.
>
>and I kill the ASKPLUS process.
>
>My problem is that the  program abort after the 2nd ACTIVATE call !!
>
>What happends ?
>Do I forget something ?
>
>many thanks