From 2c59f669553677838022d65f2433b31a04bc632d Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 5 May 2015 13:10:13 +0000 Subject: - add trap - rc for 2.1.2.0 --- doc/trap.html | 98 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 doc/trap.html (limited to 'doc/trap.html') diff --git a/doc/trap.html b/doc/trap.html new file mode 100644 index 0000000..ff03c2e --- /dev/null +++ b/doc/trap.html @@ -0,0 +1,98 @@ + + + + + execline: the trap command + + + + + + +

+execline
+Software
+skarnet.org +

+ +

The trap program

+ +trap traps signals and runs a variety of commands according +to the signals it catches. + +

Interface

+ +

+ In an execlineb script: +

+ +
+     trap [ -x ] [ -t millisecs ]
+     {
+       [ timeout { progtimeout... } ]
+       [ SIGTERM { progsigterm... } ]
+       [ quit { progsigquit... } ]
+       [ 1 { progsighup... } ]
+       ...
+     }
+     prog...
+
+ + + +

Options

+ + + +

Notes

+ + + + + -- cgit v1.2.3