On Fri, 12 Mar 2010 at 10:39AM +, Dr. David Kirkby wrote:
> * John Palmieri has written a library function for Sage, called
> "have_program()" which determines if the program exists. It does not
> report it's path, as John did not need that information, but only
> whether it exists or not.
Exc
Mike Hansen wrote:
On Fri, Mar 12, 2010 at 12:09 AM, Dan Drake wrote:
I'm looking over #8486 and the patch there tests to see if the xelatex
program is available with
os.system('which xelatex >/dev/null')
See http://trac.sagemath.org/sage_trac/ticket/8474 which was just merged :-)
--Mike
On Fri, Mar 12, 2010 at 12:09 AM, Dan Drake wrote:
> I'm looking over #8486 and the patch there tests to see if the xelatex
> program is available with
>
> os.system('which xelatex >/dev/null')
See http://trac.sagemath.org/sage_trac/ticket/8474 which was just merged :-)
--Mike
--
To post to
Hello all,
I'm looking over #8486 and the patch there tests to see if the xelatex
program is available with
os.system('which xelatex >/dev/null')
Now, the Python documentation says one should use the subprocess module
instead of os.system [1], and also I recall that apparently the "which"
co