| 1 |
! $Id: exec_exit,v 1.3 2002-02-19 19:43:28 f Exp $ |
| 2 |
! |
| 3 |
! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, |
| 4 |
! and other ircII contributors. |
| 5 |
! |
| 6 |
! All rights reserved. See the HELP SCROLLZ 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) |