Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2000 00:38:36 +0000 (UTC)
From:      naddy@mips.inka.de (Christian Weisgerber)
To:        freebsd-questions@freebsd.org
Subject:   Re: argv[0] modification?
Message-ID:  <8ufg2c$dig$1@kemoauc.mips.inka.de>
References:  <20001109164134.B387@ringworld.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Pentchev <roam@orbitel.bg> wrote:

> Does the base system provide a way to execute a program, supplying
> a different value for its argv[0] (the program name)?

perl -e 'exec { "program" } "argv0", "argv1", "argv2"'

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8ufg2c$dig$1>