Commit Graph

3 Commits

Author SHA1 Message Date
Dylan Wagstaff 367343c481 FIX permit reindexing on a Windows machine
It appears that when executing in a Microsoft Windows environment the
default shell used in the immediate reindex handler is CMD, which has
some severely different syntax support from that of a POSIX machine (e.g.
GNU bash). This leads to errors to do with double escaping certain
parameters passed in via the CLI - culminating in an Injector error about
an non-extant class e.g. 'SilverStripe\\CMS\\Model\\SiteTree' - two
slashes a namespace separator does not make!
2018-02-23 16:46:44 +13:00
Robbie Averill de4e2ba889 NEW Use symfony/process to execute immediate system commands for reindexing 2018-02-16 12:05:46 +13:00
Robbie Averill 7b72774890 FIX Update directory structure for PSR-4 compatibility and rename "code" to "src" 2017-11-29 15:13:46 +13:00