comp.lang.ada
 help / color / mirror / Atom feed
From: Ehud Lamm <mslamm@mscc.huji.ac.il>
Subject: not really an Ada question
Date: 2000/02/15
Date: 2000-02-15T13:54:40+00:00	[thread overview]
Message-ID: <Pine.A41.3.96-heb-2.07.1000215155013.63302B-100000@pluto.mscc.huji.ac.il> (raw)

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!






             reply	other threads:[~2000-02-15  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-15  0:00 Ehud Lamm [this message]
2000-02-16  0:00 ` not really an Ada question Robert Dewar
2000-02-16  0:00   ` Ehud Lamm
2000-02-16  0:00     ` Ehud Lamm
2000-02-17  0:00       ` Charles Hixson
2000-02-17  0:00       ` Robert A Duff
2000-02-17  0:00 ` not really an Ada question (long answer) DuckE
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox