popen() (was Re: Followup (Re: "Can't check path..."))

Eric <[email protected]> Sun, 12 Nov 2006 14:49:13 -0500
Newsgroups gmane.comp.horde.chora
Message-ID <[email protected]>
At 02:39 PM 11/12/2006, Eric wrote:

<EP>>>>>(I would have though that popen() should be fed the path to the 
directory, i.e. 'file:///usr/local/svnroot/repos/MyRepo/', and not the 
whole command string including "svn ls"...<<<<<

I checked http://php.net/popen and see that it really is supposed to get 
the whole command line.

That page also says that "If the command to be executed could not be found, 
a valid resource is returned.".

So, apparently it is having trouble executing "/usr/bin/svn ls 
'file:///usr/local/svnroot/repos/MyRepo/' 2>&1".

I tried executing that by hand and it worked fine.  I'll try a few other 
experiments with known-goid file paths.


-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]