Re: Is it worth having shell-agnostic ./run and ./finish?

From: Laurent Bercot <ska-supervision_at_skarnet.org>
Date: Fri, 20 Mar 2015 23:43:29 +0100

On 20/03/2015 23:05, Avery Payne wrote:
> question is: how difficult would it be to write a ./finish script in
> execline?

  It all depends on what you want to accomplish in your finish script,
of course. But there's no reason why it should be difficult: finish
scripts are essentially cleanup duties, and should be about the same
order of complexity as run scripts. So, yes, fairly easy.

  Note, however, than unlike run scripts, you're not likely to spawn
hundreds of finish scripts at the same time. So resource consumption
isn't a real problem, and removing a /bin/sh dependency in finish
scripts is purely artistic at that point, so don't make it a priority. ;)

-- 
  Laurent
Received on Fri Mar 20 2015 - 22:43:29 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC