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,789b1b7142e884ff,start X-Google-Attributes: gid103376,public From: Ehud Lamm Subject: not really an Ada question Date: 2000/02/15 Message-ID: #1/1 X-Deja-AN: 586123986 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Complaints-To: usenet@news.huji.ac.il X-Trace: news.huji.ac.il 950622880 9011 132.64.178.45 (15 Feb 2000 13:54:40 GMT) Organization: The Hebrew University of Jerusalem Mime-Version: 1.0 NNTP-Posting-Date: 15 Feb 2000 13:54:40 GMT Newsgroups: comp.lang.ada Date: 2000-02-15T13:54:40+00:00 List-Id: This is really about Winodws programming, but I do hope someone created a simple free binding for what I need - so it is not completly off topic. If I start a program using "sytem" than if the program is windows abes, it start and I can continue to issue a second "system" call. However, naturally, if the program invoked is a DOS program (or console? I am nost sure) my main program waits. I tried replacing "system" with spawnl, but it didn't work as I expected - actuaally the second invocation return an error. What I wan in essence is a consitent way to invoke any kind of program (exe file), in a process of its own - even in its own window is ok. The calling program must be unaffected by this. A solution based on using "system" from two Ada tasks works like a charm, but I don't wna this part of the program to be task based. I want to use the OS multiprogramming facilites. Any simple code that does this? (GNAT3.11 on Win95) Thakns Ehud Lamm mslamm@mscc.huji.ac.il http://purl.oclc.org/NET/ehudlamm <== My home on the web Check it out and subscribe to the E-List- for interesting essays and more!