| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Timing out a REXX progra |
On Saturday, 96/04/06, Mike Bilow wrote to All about "Timing out a REXX program" as follows: MB> If the program in question was an EXE rather than a REXX MB> script, then I could use something like DosKillProcess(). MB> But this does not work because simply killing the REXX MB> script process has the effect of killing the parent batch, MB> too, since CMD itself is the process. Hi Mike, Check out the RexxSetHalt() API. By placing a SIGNAL ON HALT statement in your REXX exec you should be able to shut it down fairly gracefully when the interrupt occurs. Regards Dave * KWQ/2 1.2i * 9 out of 10 men who try Camels prefer women. --- Maximus/2 3.01* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4) SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955 SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809 @PATH: 440/4 141/209 270/101 712/515 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™.