[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] Patch to stop shells from being left around
From: |
shawn |
Subject: |
Re: [RP] Patch to stop shells from being left around |
Date: |
Thu Oct 4 21:13:02 2001 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 |
Mike Meyer <address@hidden> writes:
> I noticed that the exec and xterm commands tended to leave an "sh -c"
> hanging around. This seems strange considering the "ugly dance" that
> spawn goes through to prevent zombies, as zombies only take up a
> process slot but the shells use memory that would otherwise be free.
Does the "sh -c" go away after the command is finished? Someone else
was having this problem. I think he was using 'ash' for /bin/sh. For
me /bin/sh is a symlink to /bin/bash. I have noticed that "sh -c"'s
are not left behind...for me anyway.
What 'sh' are you using?