From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a1c219342feb1c77 X-Google-Attributes: gid103376,public From: "Bobby D. Bryant" Subject: Re: ADA client/server Date: 2000/08/20 Message-ID: <39A06C94.905AE95@mail.utexas.edu>#1/1 X-Deja-AN: 660545593 Content-Transfer-Encoding: 7bit References: <399ec91e@usenet.per.paradox.net.au> X-Accept-Language: en,fr,de Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@cc.utexas.edu X-Trace: geraldo.cc.utexas.edu 966818287 17787 128.83.190.158 (21 Aug 2000 00:38:07 GMT) Organization: The University of Texas at Austin Mime-Version: 1.0 NNTP-Posting-Date: 21 Aug 2000 00:38:07 GMT Newsgroups: comp.lang.ada Date: 2000-08-21T00:38:07+00:00 List-Id: jill wrote: > is it possible to build a client/server model in ADA? > if so, how do i fork a new process (child)? > need a reply urgently. If you just need another process (as opposed to a fork per se), and if you are using GNAT, you can use GNAT.OS_Lib.Non_Blocking_Spawn to start the child process(es). It lets you specify the name of the program or script to run in the process, and also lets you pass an argument string. I believe it is supposed to be OS-independent. Bobby Bryant Austin, Texas