Re: p:exec - path separators

Side question : how do Java behave on that ?

Xmlizer

On Mon, Feb 23, 2009 at 5:31 PM,  <Toman_Vojtech@emc.com> wrote:
> Hi all,
>
> I have a question about p:exec. Section 7.2.1 says:
>
> "If the command or cwd options contain any '/' or '\' characters, they
> will be replaced with the platform-specific path separator character. If
> the fix-slashes option is true, this fixup will be applied to args as
> well."
>
> What if I get totally crazy and put the executable in a directory that
> has a backshlash in the name in a *nix like OS? Replacing of path
> separators may break things in that case.
>
> --
>
> Also, how does the 'fix-slashes' option work with this:
>
> <p:exec args="snake='\/\/\/\O<'">...</p:exec>
>
> Does this 'fix' the slashes in the escaped argument value?
>
>
> Regards,
> Vojtech
>
>
>

Received on Friday, 6 March 2009 22:04:05 UTC