Date : Tue, 13 Aug 1985 15:41:25 GMT
From : Chuck McManis <cem%intelca.uucp@BRL.ARPA>
Subject: Re: how to execute programs from within cpm programs
> In article <946@sdcsla.UUCP> hestenes@sdcsla.UUCP (Eric Hestenes) writes:
>Can anyone give me a hint as to how someone would call one program,
>say WORDSTAR or something simpler, from within another program.
>
>Methods using Turbo Pascal, 'C' or assembler would be useful.
>
Aside from the fact that Turbo Pascal provides the function
Execute(FilVar) where FilVar is the name of the program to run, if
you want to be really slick, you could run ZCPR3 and stuff the
name of the file to run (and all of its arguments) into the External
Command line buffer and then exit to the CCP. Next thing running would
be your program. (I have done this from turbo and found the results to
be rather effective.
--Chuck
--
"Unix, the Teco of Operating Systems." - - - D I S C L A I M E R - - -
{ihnp4,fortune}!dual\ All opinions expressed herein are my
{qantel,idi}-> !intelca!cem own and not those of my employer, my
{ucbvax,hao}!hplabs/ friends, or my avocado plant. :-}