popen() or SVN path problem on WinXP
Norbert Mocsnik <[email protected]> Sun, 10 Jul 2005 15:13:57 +0200
| Newsgroups | gmane.comp.horde.chora |
|---|---|
| Message-ID | <[email protected]> |
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/
--
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]