When calling the real loader, is stderr also redirected to the log output? It would be best to add the wrapper script as well here.
When calling the real loader, is stderr also redirected to the log output? It would be best to add the wrapper script as well here.