scsh-users
[Top] [All Lists]

scsh exit value

To: <scsh-bugs@zurich.ai.mit.edu>
Subject: scsh exit value
From: RT Happe <rthappe@mathematik.uni-freiburg.de>
Date: Thu, 14 Feb 2002 18:47:40 +0100 (CET)
scsh-0.6.0 (on a Linux PC) doesn't behave according to the RM
section 11.1.7, man-Z-H-12.html#%_sec_11.1.7 : it *does* return the value
of the top level computation as exit code.  E.g. ``scsh -c 0'' succeeds,
``scsh -c 144'' dies shamefully: error 144.  Accordingly for -e.
  (That means that scsh programs that shall not look bad when called by
the make utility have to exit(0) explicitely.)

rthappe



<Prev in Thread] Current Thread [Next in Thread>