comp.lang.ada
 help / color / mirror / Atom feed
* not really an Ada question
@ 2000-02-15  0:00 Ehud Lamm
  2000-02-16  0:00 ` Robert Dewar
  2000-02-17  0:00 ` not really an Ada question (long answer) DuckE
  0 siblings, 2 replies; 7+ messages in thread
From: Ehud Lamm @ 2000-02-15  0:00 UTC (permalink / 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!






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-02-17  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-15  0:00 not really an Ada question Ehud Lamm
2000-02-16  0:00 ` Robert Dewar
2000-02-16  0:00   ` Ehud Lamm
2000-02-16  0:00     ` Ehud Lamm
2000-02-17  0:00       ` Robert A Duff
2000-02-17  0:00       ` Charles Hixson
2000-02-17  0:00 ` not really an Ada question (long answer) DuckE

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