Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/13/84; site intelca.UUCP
Path: utzoo!linus!philabs!prls!amdimage!amdcad!amd!intelca!cem
From: cem@intelca.UUCP (Chuck McManis)
Newsgroups: net.micro.cpm
Subject: Re: how to execute programs from within cpm programs
Message-ID: <38@intelca.UUCP>
Date: Tue, 13-Aug-85 11:41:25 EDT
Article-I.D.: intelca.38
Posted: Tue Aug 13 11:41:25 1985
Date-Received: Sun, 18-Aug-85 23:40:50 EDT
References: <946@sdcsla.UUCP> <124@wlcrjs.UUCP>
Distribution: net
Organization: Intel, Santa Clara, Ca.
Lines: 21

> 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. :-}