shell error

utzoo!decvax!ucbvax!menlo70!sri-unix!allegra!psuvax!bear at Berkeley utzoo!decvax!ucbvax!menlo70!sri-unix!allegra!psuvax!bear at Berkeley
Sun Dec 27 11:24:34 AEST 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