From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 22:55:37 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 353651065672 for ; Fri, 30 Dec 2011 22:55:37 +0000 (UTC) (envelope-from bill@celestial.com) Received: from dorsai-02.celestial.com (dorsai-02.celestial.com [192.136.111.19]) by mx1.freebsd.org (Postfix) with ESMTP id 078508FC24 for ; Fri, 30 Dec 2011 22:55:36 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by dorsai-02.celestial.com (Postfix) with ESMTP id 07F68206BDFC for ; Fri, 30 Dec 2011 14:38:31 -0800 (PST) X-Virus-Scanned: amavisd-new at celestial.com Received: from dorsai-02.celestial.com ([127.0.0.1]) by localhost (dorsai-02.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Z-Kmywt6u8Wq for ; Fri, 30 Dec 2011 14:38:30 -0800 (PST) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by dorsai-02.celestial.com (Postfix) with ESMTP id B0EDB206BDF2 for ; Fri, 30 Dec 2011 14:38:30 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id 8F07F44F9215; Fri, 30 Dec 2011 14:38:30 -0800 (PST) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DshWfrYyYahh; Fri, 30 Dec 2011 14:38:30 -0800 (PST) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id 743D544F9214; Fri, 30 Dec 2011 14:38:30 -0800 (PST) Date: Fri, 30 Dec 2011 14:38:30 -0800 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20111230223830.GA7071@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20111230223453.GA8062@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111230223453.GA8062@thought.org> User-Agent: Mutt/1.5.19 OpenPKG/CURRENT (2009-01-05) Subject: Re: how to chdir permanently X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 22:55:37 -0000 On Fri, Dec 30, 2011, Gary Kline wrote: >if i put in a > > chdir(VBCPATH) before my speech stuff, how long will the chdir() > let me remain in that directory? my directory for my tts gtk > application is hidden away in ~/.VBC for now, and the binary > has to be in that directory. all of the text files are > there. On any *nix system the chdir is in effect for the duration of the script that did it, and for any processes spawned by that script. Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 Whenever a people entrust the defence of their country to a regular, standing army, composed of mercenaries, the power of that country will remain under the direction of the most wealthy citizens.