[chora] popen() or SVN path problem on WinXP

Norbert Mocsnik lists at norbert.mocsnik.hu
Sun Jul 10 06:13:57 PDT 2005


Hi List,

I need some good advice. Anyone using chora on WinXP,
could you tell me please how your SVN path is spelled
when everything works properly?

In horde/lib/Horde/VC/svn.php line 302-303:

$cmd = $this->rep->getPath('svn') . ' ls ' . $Q . str_replace($Q, '\\' . $Q, $this->rep->sourceroot() . $this->queryDir()) . $Q . ' 2>&1';
$dir = popen($cmd, 'r');

popen() returns false on my system.
According to the PHP manual,
"If an error occurs, [popen] returns FALSE."

I've tried all the possible path formats (slashes,
backslashes, quotes, paths with/without spaces)
and I can't get get it to work.

Any quick tips?

Thanks in advance.

-- 
Best Regards,
Norbert Mocsnik
http://norbert.mocsnik.hu/


More information about the chora mailing list