[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:
> help-cfengine-bounces+jason.h.martin=cingular.com@gnu.org
> [mailto:help-cfengine-bounces+jason.h.martin=cingular.com@gnu.
> org] On Behalf Of Brendan Strejcek
> Sent: Friday, November 11, 2005 8:41 AM
> To: Mark Burgess
> Cc: help-cfengine@gnu.org
> 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
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-> cfengine
>
- 2.1.17 having issue with ExecResult() using pipelines, nathan r. hruby, 2005/11/10
- RE: 2.1.17 having issue with ExecResult() using pipelines,
Martin, Jason H <=
- RE: 2.1.17 having issue with ExecResult() using pipelines, Martin, Jason H, 2005/11/11
- RE: 2.1.17 having issue with ExecResult() using pipelines, nathan r. hruby, 2005/11/11
- Re: 2.1.17 having issue with ExecResult() using pipelines, Chip Seraphine, 2005/11/11
- Re: 2.1.17 having issue with ExecResult() using pipelines, nathan r. hruby, 2005/11/11
- Re: 2.1.17 having issue with ExecResult() using pipelines, Brendan Strejcek, 2005/11/11
- Re: 2.1.17 having issue with ExecResult() using pipelines, Chip Seraphine, 2005/11/11
- Re: 2.1.17 having issue with ExecResult() using pipelines, Paul Krizak, 2005/11/11