shell error

utzoo!decvax!ucbvax!unix-wizards utzoo!decvax!ucbvax!unix-wizards
Sun Dec 27 18:35:03 AEST 1981


>From allegra!psuvax!bear at Berkeley Sun Dec 27 18:21:59 1981
We are having a unusual problem with shell (sh). If a daemon (like UUXQT)
starts a program which executes

	execl("/bin/sh", "sh", "-c", "who one two three four five six", 0);

two shells

	sh -c who one two three four five six
	sh -c who one two three four five six

will appear. the second goes cpu bound and must be killed.  if instead

	execl("/bin/sh", "sh", "-c", "who one two", 0);

is executed or csh is used. the result is as exepected. the command 'who'
is not importain. anyone have any ideas what is happening?

			allegra!psuvax!bear
			Robert Michael Owens



More information about the Comp.unix.wizards mailing list