Ticket #13247 (new enhancement)

Opened 10 months ago

Sage.app should use PATH set in .bash_profile

Reported by: iandrus Owned by: iandrus
Priority: major Milestone: sage-5.10
Component: user interface Keywords: mac app,mac
Cc: kcrisman Work issues:
Report Upstream: N/A Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

A very common problem is that people don't understand how to set environment variables on OS X. This is because GUI applications don't inherit from a shell session and hence don't pick up changes in .bash_profile etc. It should be possible to have Sage.app (optionally) run a shell command which returns the (relevant?) environment variables from .profile and then put those in Sage.app's environment. Actually, it would probably be enough for the server starting script to source the user's .profile to pick up the changes since other uses go through a shell, though this would need to be checked.

Note: See TracTickets for help on using tickets.