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

Eric spamsink at scoot.netis.com
Sun Nov 12 11:49:13 PST 2006


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.




More information about the chora mailing list