On 29/10/09 23:22, ~suv wrote:
(...) by using a login shell in the first level (script and openDoc) which automatically sources the default startup files of my $SHELL (whatever that might be).
Here I am clearly wrong as it is unrelated to $SHELL. Based on the assumption that a) most users on OS X don't change their default shell (/bin/bash), and b) those who do are aware which startup files are sourced by login shells and know how to keep an updated ~/.profile even if they use bash, tcsh or zsh as default using '/bin/sh' or '/bin/bash' as login shell would however cover most cases (AFAIK bash is the default shell for new users since Tiger - or even Panther?). *If* the startup files of other shells like (t)csh, ksh and zsh need to be fully supported - a switch like X11/Xquartz[1] used in the launcher script could call 'bin/inkscape' with different login shells depending on the users default.
~suv
[1] http://cgit.freedesktop.org/xorg/xserver/tree/hw/xquartz/bundle/X11.sh