plus it is not at all clear to me how to go about dynamically using COMSPEC
in a gradle exec command...
I did manage to work out how to get the OS type .... should have known I
could just use the java properties
if (System.getProperty("os.name")?.toLowerCase()?.indexOf("windows") != -1)
svnCommand = "%COMSPEC% /c svn"
else
svnCommand = "svn"
However, I should have also known the above here wouldn't work. Just
complains about not being able to execute %COMSPEC%
Is there at all a nice way to do this?
Or do I have to do a big ugly hack for the sake of windows
Regards,
sean