Ok, I figured this one out. It was caused by OsVendorStartRedirectErrorFFunction() defined in nxagent Init.c. The behaviour seemed highly weird, but is actually intentional under some circumstances! -- Mario Becroft <mb at gem.win.co.nz>