Re: PEAR::System::which() inquiry

From: Date: Sat, 03 Jul 2004 16:47:48 +0000
Subject: Re: PEAR::System::which() inquiry
References: 1 2 3 4  Groups: php.pear.core 
Request: Send a blank email to pear-core+get-421@lists.php.net to get a copy of this message
Tomas V.V.Cox wrote:
Philippe Jausions wrote:
plus added support for file and/or folder with space in their name... BTW: spaces in filenames are poorely supported in various PEAR packages...
Spaces are fully suported by System, the same goes for the installer.
Yes, but only when passing arguments by array. Things like System::cat('"My directory has space in its name/My File.txt" file.test
final.txt');
as you would pass to a shell command, doesn't work... Since RegExp are used anyway, it's not that much more costly to handle quotes around these file names... BTW: I don't see the changes in CVS... -Philippe

« previous php.pear.core (#421) next »