From 523036ef1e6e4bd7047ec21a6e68b7508569db91 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 22 Aug 2017 15:10:36 +0000 Subject: More conversion to xpathexec, make exit code change consistent across binaries --- NEWS | 2 ++ doc/exitcodes.html | 11 +++++++++++ doc/index.html | 5 ++++- doc/upgrade.html | 2 ++ src/execline/background.c | 3 ++- src/execline/pipeline.c | 3 ++- 6 files changed, 23 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 3a1be32..2459983 100644 --- a/NEWS +++ b/NEWS @@ -2,7 +2,9 @@ Changelog for execline. In 2.3.0.2 ---------- + - Optimization release to go with skalibs-2.6.0.0 + - xpathexec* exit codes changed. In 2.3.0.1 diff --git a/doc/exitcodes.html b/doc/exitcodes.html index 7463bd1..51902f1 100644 --- a/doc/exitcodes.html +++ b/doc/exitcodes.html @@ -94,5 +94,16 @@ a scion of C had problems.
  • Exact information is reported in the common case.
  • +

    Summary of common exit codes for execline programs

    + + + diff --git a/doc/index.html b/doc/index.html index d39e3bd..929dbab 100644 --- a/doc/index.html +++ b/doc/index.html @@ -110,8 +110,11 @@ to your installation: the shebang lines for your system might be something like

    All these commands exit 111 if they encounter a temporary error, and -100 if they encounter a permanent error - such as a misuse. +100 if they encounter a permanent error - such as a misuse. They exit +127 if they're trying to execute into a program and cannot find it, and +126 if they fail to execute into a program for another reason.

    +

    (Script parser / launcher)

    diff --git a/doc/upgrade.html b/doc/upgrade.html index a954d63..d64d75d 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -22,6 +22,8 @@