Oh my God! You are right.
O.S .: Windows 10 - ver. 1703 - compilation 15063.608 of Sep 12, 2017.
(After many years of being accused as obsolete, I have the sickly mania of the update ).
But the problem could not be the O.S. because with Harbour (only) works in W10.
Is the HMG version. I use Extended 17.08, and it not going. With 3.4.4 it works wonderfully.
The rare thing is that the function ExitProcess() performs "well" , but file.bat does not collect the value of file.exe
Sorry and thanks.
And since I have to stay with Extended, all I can do is one thing: