#11932: Allow running Sage with a temporary DOT_SAGE directory
------------------------------+---------------------------------------------
Reporter: jdemeyer | Owner: leif
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: scripts | Keywords:
Work_issues: | Upstream: N/A
Reviewer: Jeroen Demeyer | Author: John Palmieri
Merged: | Dependencies: #11926
------------------------------+---------------------------------------------
Comment(by jhpalmieri):
Calling `sage` at this point in the script will call the script
`spkg/bin/sage`, because that directory is now in the path, so it is
conceivably different from calling `$SAGE_ROOT/sage`. In practice, it does
behave differently, as I mentioned above: using `$SAGE_ROOT/sage` in the
script, the command `sage --norc -c 'print "hello"'` works as expected,
while using just `sage`, the command prints the Sage banner, prints
"hello", and then you end up at a Sage prompt, running Sage interactively.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11932#comment:15>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.