Hi Aníbal, Thank you for bringing this bug to my attention. Unfortunately I have not been able to reproduce it on a Fedora system:
Linux legolas-fedora 2.6.35.13-92.fc14.i686 #1 SMP Sat May 21 17:39:42 UTC 2011 i686 i686 i386 GNU/Linux I've tried a number of scenarios with different LESSOPEN variants but have never produced a zombie process. Less creates the LESSOPEN process with popen and in all normal exit cases, less calls pclose at exit. Is it possible there is a bug in pclose on the system you're testing? --Mark On 10/15/2012 6:09 PM, Aníbal Monsalve Salazar wrote: > On 2011-02-25 03:37:09 +0100, Vincent Lefevre wrote: > >> "less" doesn't seem to wait for the sh started for the lesspipe >> command: >> [...] > > On Mon, Oct 15, 2012 at 01:43:32PM +0200, Vincent Lefevre wrote: >> It can also be reproduced with: >> >> #!/bin/sh >> cat "$@" >> >> as the lessopen.sh file, and just the following environment variable: >> LESSOPEN="|/path/to/lessopen.sh %s" >> >> Then type "less some_file", or "less <(echo blah)" under bash or zsh. > > Hello Mark, > > Please have a look at Debian bug#615031 which at available at > http://bugs.debian.org/615031 > > Bug#615031 is present in less version 451. > > Thanks, > > Aníbal > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

