in reply to Re^7: redirection problem
in thread redirection problem

It didn't help either. I've installed Strawberry once again and no progress. Then uninstalled and installed AS 5.12.4 32-bit, but no success either. But... started digging and after finding similar posts for Groovy and Python I followed one of the links. This is actually very old fix for Win2000, but adding mentioned InheritConsoleHandles registry key solved my problem.