bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stable 2.0 and popen.test on Debian Squeeze


From: Andy Wingo
Subject: Re: Stable 2.0 and popen.test on Debian Squeeze
Date: Sun, 27 Feb 2011 23:07:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

On Fri 25 Feb 2011 06:01, Francis Southern <address@hidden> writes:

> As you may know, several people have been having problems with
> `popen.test' with 2.0 on Debian Squeeze.  After a suggestion from
> Ludovic on IRC, I tried running it with my /bin/sh symlinked to Bash
> rather than Dash and there were no unexpected failures.  Yay.

Whoa, that's a good one.

The difference seems to be the difference between:

  dash -c 'exec 1>/dev/null; echo closed 1>&2; exec 2>/dev/null; read'

and

  bash -c 'exec 1>/dev/null; echo closed 1>&2; exec 2>/dev/null; read'

Dash prints "closed" and exits immediately with error code 2.  Bash
prints "closed" and waits for input from the "read".

Are we relying on non-portable shell behavior here?

Andy
-- 
http://wingolog.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]