Shell-independent *nix setup script

scott.hafeman at rogers.com scott.hafeman at rogers.com
Thu May 22 15:53:54 EDT 2008


Hi,
Is it worthwhile maintaining a production application setup script in
Python as opposed to shell-script?  The main goal of this setup script
is to sniff a user's environment and export environment variables to
the calling (parent) process.
Either way, some file would need to be sourced into the user's
environment, so why not use a richer language where the setup logic is
independent of the user's shell being used.

Thanks for your feedback,
Scott



More information about the Python-list mailing list