Asri-unix.336
net.unix-wizards
utzoo!decvax!ucbvax!menlo70!sri-unix!allegra!psuvax!bear@Berkeley
Sun Dec 27 11:24:34 1981
shell error
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

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.