It is executed, since when I put something like
log.info("...");
at the end, it is executed. I saw cmd in the list of windows processes.
It is always the same, no metter of the content of the bat file,
for example xcopy....
on staging environment works, on production no...