[chora] popen() (was Re: Followup (Re: "Can't check path..…

Top Page

Reply to this message
Author: Eric
Date:  
To: chora
Subject: [chora] popen() (was Re: Followup (Re: "Can't check path..."))
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: chora-unsubscribe@???