🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #30956

Re: Pexec Cookbook

#30956
From: Allan Pratt
Date: Tue, 01 Mar 1988 19:19
15 lines
1029 bytes
From article <1988Feb27.141030.26647@jarvis.csri.toronto.edu>, 
by juancho@dgp.toronto.edu (John Buchanan):
> 	What can be done about accessing argv[0].  It would be nice to 
> know what the name of the program running is.  I have not seen any discussion
> about this.

Sorry, pal. The total discussion is, "It can't be done."

At least, not with the standard Pexec call.  If you do something like
Beckmeyer and MWC do with the environment, you can pass whatever
information you like to the child process. 

============================================
Opinions expressed above do not necessarily	-- Allan Pratt, Atari Corp.
reflect those of Atari Corp. or anyone else.	  ...ames!atari!apratt
Technical Details
Message-ID: <1003@atari.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!portal!atari!apratt
References: <1988Feb27.141030.26647@jarvis.csri.toronto.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!portal!atari!apratt
From: apratt@atari.UUCP (Allan Pratt)
Newsgroups: comp.sys.atari.st
Subject: Re: Pexec Cookbook
Message-ID: <1003@atari.UUCP>
Date: 1 Mar 88 19:19:47 GMT
References: <1988Feb27.141030.26647@jarvis.csri.toronto.edu>
Organization: Atari Corp., Sunnyvale CA
Lines: 15