Re: shell expansion (globbing) from inside php cli script
| From: | Brian V Bonini | Date: | Fri, 01 Jul 2005 22:44:54 +0000 |
| Subject: | Re: shell expansion (globbing) from inside php cli script | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-218007@lists.php.net to get a copy of this message | ||
On Thu, 2005-06-30 at 10:47, Bob Winter wrote:
> Brian,
>
> Is "/www/files/services/...." the correct relative path?? You could
> try using the absolute path to see if it fixes the problem.
>
> Also, and maybe more significant, I use tcsh . . . if you use bash
> this could be the conflict. I see that the echo of the $cmd string
> from PHP is missing the '\}' that is in my test.
Nope, paths are definitely correct, I also use tcsh.. I that instance I
did not use the same syntax as yours but I had tried it in one of the
passes. This is a SunOs system and php 4.x so that might be the
difference there. Will keep digging.