tamboer@cs.vu.nl (Tamboer Erik) (01/10/90)
I have written a program in Turbo C 2.0 that frequently calls other programs using spawnv(). Sometimes when I interrupt such a program (Ctrl-Break), I get the message "Terminate batch job? (Y/N) ?". I then type Y or N, both of which return me to my program. This is a message from COMMAND.COM, but spawnv() doesn't invoke COMMAND.COM. What is going on here? I didn't start a batch job. (For batch files I use system()). What makes it harder to localize the problem is that is doesn't always occur. Sometimes everything works fine, and sometimes I get this message with almost every program I interrupt (I often interrupt programs when I have seen enough output). Any help is appreciated. Please send e-mail to tamboer@cs.vu.nl (maybe this path is incomplete, but it is all I know) or respond in this newsgroup if you cannot reach me or if your response may be of interest to other people. BTW, I'm running MSDOS 3.3 on an XT clone. ------------------ Erik Tamboer Vrije Universiteit Amsterdam The Netherlands