Issue Bug Closed

#17409cli_dispatch.phpsh not working with windows

Irene Höppner 06/21/07, 16:26 updated 08/06/10, 13:19

Description

It is not possible to run a cli script using cli_dispatch.phpsh, if the server is windows.

The problem is an if-condition, that checks, if a path is absolute, looking if the path starts with /. This is always true on windows systems as absolute paths dont start with / there.

I added a patch (based on revision 2364), which might not be the perfect solution, but it adds a check of the OS, so the script doesn’t change for linux systems but can be used on windows systems as well.
(issue imported from #M5838)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.