| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Executing a program? |
-=> Quoting Lars Hellsten to All <=-
LH> My patience has worn a little to thin to try and figure this one out
LH> on my own. How exactly does one go about executing a program? I want
LH> to be able to run a DOS *or* OS/2 text mode program from within mine
LH> (my program has no idea beforehand whether it's a DOS or OS/2 program
LH> that's being run).
Yer gonna shoot your foot for this... In VP..
Uses DOS;
BEGIN
exec(program_name,parameters);
end.
This will run either an OS/2 native app or a DOS app and wait for it to
complete and return DOSEXITCODE as you're used to. My advice, stop looking for
the hard way and try the familiar first .
Dave...
... Today, THDPRO Support, tomorrow World Peace ask your Fido HUB for it.
~~~ TGWave v1.12+
--- GEcho 1.11+
* Origin: fks Online! * Ontario, Canada * (905)820-7273 * (1:259/423)SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955 SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809 @PATH: 259/423 400 99 250/99 3615/50 396/1 270/101 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.