Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 1999 13:28:07 -0400 (EDT)
From:      Wayne Cuddy <wayne@crb-web.com>
To:        Andy Doran <ad@fionn.sports.gov.uk>
Cc:        FreeBSD Hackers List <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: changing argv[0] after fork()
Message-ID:  <Pine.LNX.3.95.990714132715.9360G-100000@crb.crb-web.com>
In-Reply-To: <378C98CB.E41232CA@fionn.sports.gov.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ad@fionn.sports.gov.uk>
> To: wayne@crb-web.com
> Cc: FreeBSD Hackers List <freebsd-hackers@FreeBSD.ORG>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.95.990714132715.9360G-100000>