[comp.sys.sgi] exec

loki@NAZGUL.PHYSICS.MCGILL.CA (Loki Jorgenson Rm421) (01/25/91)

	OK... admittedly I phrased the question terribly.  Originally,
I meant to say that the following criterion needed to be met.

	a) a process running a certain set of instructions (non-graphic)
	must initiate the execution of a second set (graphic)

	b) a socket opened during the execution of the first set of
	instructions must be passed on for use by the second set

To satisfy a), a new process could be fork'ed (suggesting that the
second instruction set is a subset of the original set) OR the second
set could be exec'd by the process running the first set, effectively
replacing the first set.  Finally, one could use system() to fork
a new process and exec a sh running the second set.

	b) is satisfied by fork'ing and exec'ing and not by system().

	My problem was that the man pages state clearly under exec(2):

"Ability to access graphics is disabled"

	I interpreted this mean that the exec'd instruction
set could not successfully make any graphics calls.  Many people
have pointed out that this is not correct.

	I find fault with the way that the man pages are written.

                             __          __
Loki Jorgenson              / /          \ \  node:  loki@Physics.McGill.CA
Grad, Systems Manager      / //////  \\\\\\ \ BITNET: PY29@MCGILLA
Physics, McGill University \ \\\\\\  ////// / fax:   (514) 398-8434
Montreal Quebec CANADA      \_\          /_/  phone: (514) 398-7027