#8474: Detect whether a program is in the path
-----------------------------+----------------------------------------------
   Reporter:  jhpalmieri     |       Owner:  drkirkby    
       Type:  defect         |      Status:  needs_review
   Priority:  blocker        |   Milestone:  sage-4.3.4  
  Component:  porting        |    Keywords:              
     Author:  John Palmieri  |    Upstream:  N/A         
   Reviewer:                 |      Merged:              
Work_issues:                 |  
-----------------------------+----------------------------------------------

Comment(by jhpalmieri):

 I installed Solaris on a virtual machine on my Mac:
 {{{
 $ uname -a
 SunOS unknown 5.10 Generic_141445-09 i86pc i386 i386pc
 }}}
 and I get the same results that mhansen reported on t2.  Also, the man
 page for "which" doesn't discuss error codes.  It says, among other things
 {{{
 NOTES
      which is not a shell built-in command; it is the  UNIX  com-
      mand, /usr/bin/which
 }}}
 I haven't tried to install Sage on this (for one thing, I don't have gcc
 installed and I don't know how to get it), but I get similar results in
 python: running "call('which lsjdflsjdflkjs', ...)" returns 0, same as
 "call('which ls', ...)".

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8474#comment:7>
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.

Reply via email to