| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Executing a program? |
Hello Lars! LH> So, to sum it up, I'm trying to have my program run an LH> external program that could be either DOS or OS/2 native, LH> and wait for the program to finish executing before my LH> program continues. I'm using Virtual Pascal for OS/2 ... LH> can anyone plese explain how I'd do this? Maybe through DosStartSession with the ssf_Related_Child flag so that you get the process ID of the child program, and then call DosWaitChild (dcwa_Process, dcww_Wait, .., .., Child_PID) to wait indefinitely for the process to end. Eelco. ---* Origin: origin lost in space (2:283/203.43) SEEN-BY: 50/99 78/0 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: 283/203 2 512 280/801 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™.