[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ReturnsZero

From: Brendan Strejcek
Subject: Re: ReturnsZero
Date: Sun, 13 Nov 2005 20:08:50 -0600
User-agent: Mutt/1.5.6+20040818i

Viraj Alankar wrote:

> classes:
>   have_clearsilver = ( ReturnsZero(/bin/echo 'import neo_cgi' |
> /usr/local/bin/python2.4) )

How about:

        have_clearsilver = (
            ReturnsZero(/usr/local/bin/python2.4 -c 'import neo_cgi')

You could also use the /bin/sh -c '' trick that has been discussed often
lately, or the new evaluated function mark just wrote, ExecShellResult.
I would probably want to wrap the above in a shell anyways so that I
could throw away the output.

For more info, read the thread started by this message:


Senior System Administrator
The University of Chicago
Department of Computer Science

reply via email to

[Prev in Thread] Current Thread [Next in Thread]