help-cfengine
[Top][All Lists]
Advanced

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

RE: 2.1.17 having issue with ExecResult() using pipelines


From: Martin, Jason H
Subject: RE: 2.1.17 having issue with ExecResult() using pipelines
Date: Fri, 11 Nov 2005 08:43:14 -0800

CFE only checks that the first command in ExecResult is fully pathed.

-JM

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of Brendan Strejcek
> Sent: Friday, November 11, 2005 8:41 AM
> To: Mark Burgess
> Cc: address@hidden
> Subject: Re: 2.1.17 having issue with ExecResult() using pipelines
> 
> 
> Mark Burgess wrote:
> 
> > binning cats is cruel so cfengine doesn't allow you to gloat with 
> > "yada yada" afterwards.
> >
> > Actually this has to do with the fact that no shell is used to wrap 
> > the command. It could be useful to have a functino which does wrap 
> > too. For now you can do /bin/sh to hush up the cruelty.
> 
> Wow, I so didn't follow that. :-)
> 
> nathan r. hruby wrote:
> 
> > fooish = ( ExecResult(/bin/sh -c "/bin/cat file | yada | 
> yada | yada") 
> > )
> 
> Do you use absolute paths for all the yadas? Maybe that is 
> the problem.
> 
> Best,
> Brendan
> 
> --
> Senior System Administrator
> The University of Chicago
> Department of Computer Science 
> http://www.cs.uchicago.edu/people/brendan
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> address@hidden 
> http://lists.gnu.org/mailman/listinfo/help-> cfengine
> 




reply via email to

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