From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 16:15:18 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E61B16A4CE for ; Fri, 26 Nov 2004 16:15:18 +0000 (GMT) Received: from nwlynx.network-lynx.net (nwlynx.network-lynx.net [63.122.185.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 689B743D2D for ; Fri, 26 Nov 2004 16:15:18 +0000 (GMT) (envelope-from Don@Silver-Lynx.com) Received: from [70.57.246.81] (helo=Silver-Lynx.com) by nwlynx.network-lynx.net with esmtpa (Exim 4.42 #1) id 1CXil2-00064H-Lr by authid with fixed_cram; Fri, 26 Nov 2004 09:15:40 -0700 Message-ID: <41A7568F.3000906@Silver-Lynx.com> Date: Fri, 26 Nov 2004 09:15:11 -0700 From: Don Wilde User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031028 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <41A615CE.6010405@Silver-Lynx.com> <19861fba0411251005265ecb91@mail.gmail.com> <41A62A68.8050201@Silver-Lynx.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Jan Grant Subject: Re: shell programming challenge X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2004 16:15:18 -0000 > > If you have the option to modify it, ensure that your script exits via > "exec sh". Alternatively a wrapper that does this is straightforward to > build. > It's looking more and more that I need to make a temporary file that packages both the init file and the program command line (eval "blah...") before running. These will not be just shell scripts, they will be tool programs and x applications. Didn't want to do that because of the risk of leaving junk in /tmp. -- Don Wilde ---------> Silver Lynx <---------- Raising the Trajectory of Human Development --------------------------------------------- http://www.Silver-Lynx.com