[TYPO3-core] RFC: Bug / Feature #5838: Get cli_dispatch.phpsh to work on windows platforms
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Wed Feb 27 20:22:40 CET 2008
Moreno Feltscher schrieb:
> +1 after testing
>
> One thing left:
> D:\>php WEB/TYPO3_42beta2/typo3/cli_dispatch.phpsh lowlevel_cleaner
>
> Warning: preg_match(): No ending delimiter '/' found in
> D:\WEB\TYPO3_42beta2\typo3\cli_dispatch.phpsh on line 57
preg_match('/^([A-Z]:)?\\/', $temp_PATH_thisScript)
Odd. I tried to match a \. In the shell I need \\\ (within the regexp) to
match a single \ in the path string:
preg_match('/^([A-Z]:)?\\\/', $temp_PATH_thisScript)
Why do I need three? Any other number raises the mentioned error.
> Notice: Undefined index: PWD in
> D:\WEB\TYPO3_42beta2\typo3\cli_dispatch.phpsh on line 69
I think we can ignore this. I don't recall that we try to catch this type
of notice anywhere in the code.
Masi
More information about the TYPO3-team-core
mailing list