#18908: mathematica interface hangs if mathematica is not installed
-------------------------------------+-------------------------------------
       Reporter:  dimpase            |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.8
      Component:  interfaces:        |   Resolution:
  optional                           |    Merged in:
       Keywords:                     |    Reviewers:  Nathann Cohen,
        Authors:  Dima Pasechnik     |  Sébastien Labbé, Salvatore Stella
Report Upstream:  N/A                |  Work issues:
         Branch:  public/18908       |       Commit:
   Dependencies:                     |  6b9a1158e64480fe9daff56e179dc9d0fcbf689d
                                     |     Stopgaps:
-------------------------------------+-------------------------------------
Description changed by jdemeyer:

Old description:

> {{{
> sage: mathematica(1)
> }}}
> hangs indefinitely if `Mathematica` is not installed.
>
> The reason is that internally the script `$SAGE_LOCAL/bin/math-readline`
> is called by `Expect()`, and the latter hangs. This script should check
> whether the `math` command has finished.

New description:

 {{{
 sage: mathematica(1)
 }}}
 hangs indefinitely if `Mathematica` is not installed.

 The reason is that internally the script `$SAGE_LOCAL/bin/math-readline`
 is called by `Expect()`, and the latter hangs. This script should check
 whether the `math` command has finished: currently the `math-readline`
 script keeps running even after the subprocess has exited.

--

--
Ticket URL: <http://trac.sagemath.org/ticket/18908#comment:21>
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/d/optout.

Reply via email to