🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Terminating processes that have spawned other processes

#3851
From: Doug Dougherty
Date: Mon, 10 Dec 1990 23:34
24 lines
1557 bytes
dsims@uceng.UC.EDU (david l sims) writes:

>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.

There are no signals in DOS...

The standard solution is to reboot the machine.  Use WATCHDOG.COM.
Technical Details
Message-ID: <valley.660872074@gsbsun>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!apple!ames!ncar!midway!valley
References: <6926@uceng.UC.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!apple!ames!ncar!midway!valley
From: valley@uchicago (Doug Dougherty)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Terminating processes that have spawned other processes
Keywords: process termination
Message-ID: <valley.660872074@gsbsun>
Date: 10 Dec 90 23:34:34 GMT
References: <6926@uceng.UC.EDU>
Sender: news@midway.uchicago.edu (News Administrator)
Organization: University of Chicago
Lines: 24