| 1 |
! $eterna: exec_exit,v 1.8 2021/03/21 04:29:45 mrg Exp $ |
| 2 |
! |
| 3 |
! Copyright (c) 1990-2021 Michael Sandrof, Troy Rollo, Matthew Green, |
| 4 |
! and other ircII contributors. |
| 5 |
! |
| 6 |
! All rights reserved. See the HELP IRCII COPYRIGHT file for more |
| 7 |
! information. |
| 8 |
! |
| 9 |
Usage: ON [#|+|-|^|&|@]EXEC_EXIT [-|^]<parameters> [action] |
| 10 |
This is activated when any EXEC'd process exits. The parameters |
| 11 |
are: |
| 12 |
$0 Process number or logical name (if assigned) |
| 13 |
$1 Signal that killed the process (or 0 if it exited normally) |
| 14 |
$2 Exit code for process (non-zero only if $1 is 0) |