TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jeff Garzik
from: David Noon
date: 1994-07-19 21:47:00
subject: Can`t wait for session!

On Sunday, 1994-07-17  Jeff Garzik wrote to David Noon about "Can't
wait for session!" as follows:

JG> Strangely enough, this is not the case.  I asked this same
JG> question on CompuServe, and was told that waiting for the pid will
JG> _not_ work.
JG> 
JG> You must make use of the 'TermQ' setting in the STARTDATA
JG> structure passed to DosStartSession() in order to find out when your
JG> DOS child process has ended.
JG> 
JG> Thanks for you help, though!

Hi Jeff,

I wish my help had been closer to the mark. ... :-(

So, it seems you have to use DosReadQueue() or the like to synchronize
with a DOS session. That's useful to know, when I try a non-OS/2
sub-program.

Regards

Dave

___
 X KWQ/2 1.2e X Windows NT -- the Lisa emulator for your Pentium.

--- Maximus/2 2.01wb

* Origin: OS/2 Shareware BBS, Fairfax, VA: 703-385-4325 (1:109/347)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 413 430
SEEN-BY: 711/807 808 809 934 942 712/353 623 713/888 800/1
@PATH: 109/347 2 1 3615/50 229/2 12/2442 711/409 54/54 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™.