[Xquartz-dev] 2.3.2_rc4
Martin Costabel
costabel at wanadoo.fr
Sat Dec 20 02:25:47 PST 2008
Jeremy Huddleston wrote:
> On Dec 18, 2008, at 23:17, Martin Costabel wrote:
[]
> While that is a regression, I'd like to point out that it is not wrong
> behavior. It is consistent with the *nix boxes out there that use gdm,
> etc.
>
>> Actually, I don't know how these commands in the "Applications" menu
>> are currently run.
>
> they're run with fork() exec(...)
>
>> My test script that I used for probing this writes the output of
>> `printenv` and of `ps xwwej` to some file in /tmp/. With rc4, it does
>> not seem to be run at all
>
> were you running something that actually starts a shell? If you run
> 'nedit' for example, then you shouldn't expect it to create a shell just
> to run nedit (which was the case before).
I understand it now: The script is ~/bin/saveenv, and the "~" is now no
longer interpreted as /Users/costabel as it used to.
The new system also obsoletes all those FAQs that explain how to get a
decent environment into the apps started from the Applications menu.
They typically said to place something like
source login-startup-script.sh; app-to-run
into the Application menu command line. Such shell commands won't work
any more, which is a pity.
--
Martin
More information about the Xquartz-dev
mailing list