From owner-freebsd-hackers Wed Jul 14 10:11:19 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from www.crb-web.com (ns1.crb-web.com [209.70.120.131]) by hub.freebsd.org (Postfix) with SMTP id EECE4153ED for ; Wed, 14 Jul 1999 10:11:15 -0700 (PDT) (envelope-from wayne@crb.crb-web.com) Received: (qmail 10530 invoked by uid 1001); 14 Jul 1999 17:28:07 -0000 Date: Wed, 14 Jul 1999 13:28:07 -0400 (EDT) From: Wayne Cuddy Reply-To: wayne@crb-web.com To: Andy Doran Cc: FreeBSD Hackers List Subject: Re: changing argv[0] after fork() In-Reply-To: <378C98CB.E41232CA@fionn.sports.gov.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Even though I am developing on FBSD is there a "more portable" way to do this? Thanks, Wayne On Wed, 14 Jul 1999, Andy Doran wrote: > Date: Wed, 14 Jul 1999 15:03:55 +0100 > From: Andy Doran > To: wayne@crb-web.com > Cc: FreeBSD Hackers List > Subject: Re: changing argv[0] after fork() > > setproctitle(3) > > Wayne Cuddy wrote: > > > > I have a process that forks several times, I want to change the names that the > > child processes appear as in the process table. Is there a trick to doing > > this? > > > > Thanks, > > Wayne > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message