Open Fiouz opened 2 years ago
How about using / as the separator? It should work with both Windows and *nix
PR modified to adopt a safer and more generic approach; instead, we use a system property to pass a JSON-encapsulated value around (we rely on Groovy JsonOutput/JsonSlurper):
\
was only one special case among others), value is now a runtime value
Windows uses the \ backslash character as the directory separator, which interferes with the standard Groovy escaping.