#13892: Mathematica interface is broken by Mathematica 9
------------------------------+---------------------------------------------
Reporter: charpent | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-5.11
Component: interfaces | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
------------------------------+---------------------------------------------
Comment (by dunfield):
I have replicated this with Sage 5.10 and Mathematica 9 on OS X (Leopard).
I believe the problem is that Mathematica 9 quits as soon as it hits an
EOF if you redirect its output:
math9 > /tmp/math9.log # quits immediately after printing the
banner to the logfile.
math8 > /tmp/math8.log # Takes keyboard input and prints output to
the logfile as expected.
Here's one workaround for this I found involving "tail -f" and a FIFO:
[http://mathematica.stackexchange.com/questions/23217/keep-mathkernel-
running-in-background-speed-up-execution-time]
but perhaps there's some easy way to imitate this just using pexpect?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13892#comment:1>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.