🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #174

Execute function and ^C

#174
From: Steven Collins
Date: Sun, 25 Jun 1989 22:00
14 lines
1073 bytes
I have a C program that uses the Execute function to perform the
cli command:  execute mybatchfile. The batchfile then goes off and
performs a bunch of time consuming commands. What I want to be able to
do is interrupt the thing in the middle (perhaps by typing ^C at the console).
Is there a way to send an interrupt of some kind (eg a ^D to interrupt 
the batchfile execution ) to a command that was started with the 
Execute function?  Or is there a way I can get directly to the commands 
that the batchfile is performing and send a ^C to their stdin?
Thanks in advance...
                      steve collins


UUCP: {ames!elroy, <backbone>}!gryphon!pnet02!collins
INET: collins@pnet02.cts.com
Technical Details
Message-ID: <17114@gryphon.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!usc!elroy!gryphon!pnet02!collins

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!usc!elroy!gryphon!pnet02!collins
From: collins@pnet02.cts.com (Steven Collins)
Newsgroups: comp.sys.amiga.tech
Subject: Execute function and ^C
Message-ID: <17114@gryphon.COM>
Date: 25 Jun 89 22:00:16 GMT
Sender: root@gryphon.COM
Organization: People-Net [pnet02], Redondo Beach, CA.
Lines: 14