Re: X11-2.3.2_rc4 X11.app problem
Re: X11-2.3.2_rc4 X11.app problem
- Subject: Re: X11-2.3.2_rc4 X11.app problem
- From: Brandon Allbery <email@hidden>
- Date: Fri, 19 Dec 2008 20:08:17 -0500
On 2008 Dec 19, at 19:49, Martin Costabel wrote:
jernigan wrote:
Removing the pair of double quotes fixed the problem. I think they
were left over from an earlier version where the file name had a
space in it. It still doesn't explain why it's worked for months
with the double quotes.
In previous versions, the commands from the Applications menu were
executed in a shell, in 2.3.2-rc4 they are run by execvp(). This
makes a difference in quoting rules, and it seems to make a
difference for the handling of stdout, too.
Yep, that'd be it. As for stdout, hm, bash will open stdin/out/err
on /dev/null if any of them are closed, if bash isn't invoked but
they're closed "interesting" things can happen. (Come to think of it,
I reported a problem like that several years ago, don't know if it
ever got fixed as I patched around it in my .profile. Short version:
a shell launched with "-i" does not generally expect its stdin to be
closed, or open on /dev/null.)
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] email@hidden
system administrator [openafs,heimdal,too many hats] email@hidden
electrical and computer engineering, carnegie mellon university KF8NH
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden