#9644: Make Sage run even when $SAGE_ROOT contains spaces
----------------------+-----------------------------------------------------
Reporter: mpatel | Owner: jason
Type: defect | Status: new
Priority: major | Milestone:
Component: misc | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------+-----------------------------------------------------
Comment(by leif):
Ouch, I just realized the scripting "logic" is completely insane:
While {{{sage-env}}} is intended to be '''sourced''' (rather than called),
and {{{sage-sage}}} does this,
* {{{sage-sage}}} redirects stdout and stderr while sourcing {{{sage-
env}}} to {{{/dev/null}}}, though {{{sage-env}}} eventually outputs
(valuable) error messages
* {{{sage-sage}}} tests its "exit status", though it is sourced, not
called
* {{{sage-env}}} actually '''exits''' with 1 on error
So even when an error is detected in {{{sage-env}}}, the user will never
see the error message, but Sage will simply "silently" exit.
Argh...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9644#comment:5>
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.