🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #3859

Terminating processes that have spawned other processes

#3859
From: david l sims
Date: Mon, 10 Dec 1990 18:40
18 lines
1340 bytes
Does anyone know of any techniques to use in the following scenario:

Say I'm running a BBS that uses a program like DOORWAY or GATEWAY to
run another program outside the BBS (a door). Now say that the door
runs another program on its own, and then *that* program runs another
program on its own, and so on until we have 6 or 7 processes out there.

Now, say the caller idles too long and GATEWAY wants to hangup on him
and terminate all processes and return to the BBS. I noticed that DOS
function 4Bh or something like that (terminate process) says that it
terminates the *current* process. Well, if we've got 6 or 7 processes
going, that won't get kill all the extra ones and get us back to the BBS.

I hope that anyone who generally knows what I'm talking about has the idea.
Would you share any techniques you might use or know of to solve this
potential problem?

Thanks much.
Technical Details
Message-ID: <6926@uceng.UC.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!news.cs.indiana.edu!uceng!dsims

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!news.cs.indiana.edu!uceng!dsims
From: dsims@uceng.UC.EDU (david l sims)
Newsgroups: comp.os.msdos.programmer
Subject: Terminating processes that have spawned other processes
Keywords: process termination
Message-ID: <6926@uceng.UC.EDU>
Date: 10 Dec 90 18:40:03 GMT
Followup-To: comp.os.msdos.programmer
Organization: College of Engg., Univ. of Cincinnati
Lines: 18