Sorry, from memory / on my phone. If the app is a console app, the code to redirect is never executed. So for the apps we ship, I believe this doesn't work. At least it didn't when I tried last week. Error could of course be mine... Look at the code... The redirect is inside an if clause and we never got to that code...
/D On November 2, 2017 1:22:41 PM PDT, "Lubomir I. Ivanov" <[email protected]> wrote: >On 2 November 2017 at 19:58, Dirk Hohndel <[email protected]> wrote: >> Lubomir, >> >> Can I ask you for a favor? >> >> On Android we simply always create a subsurface.log file. I think we >should do the same on Windows. >> Could you create a PR that adds that (and removes the currently >non-functional command line option that claims to create the log file >but doesn't when called from the command line)? >> > >i cannot confirm that it doesn't work, see bellow: >----------------------------------------------- >> dir *.log /b >File Not Found > >> subsurface.exe --win32log > >> dir *.log /b >subsurface_err.log >subsurface_out.log >----------------------------------------------- > >on the other hand, the PR seems viable - will do. > >lubomir >-- -- from my phone. _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
