On Wed, 21 Jun 2017 02:17:27 -0700 (MST) alexchernoff <alexchern...@hotmail.com> wrote:
> Peace to all, > > I have some Gb projects that are in Application.Daemon mode. But sometimes > if process dies for whatever reason, I can't see what the last error was. I > have to run it in a console without daemonizing and wait for it to die and > show last reason (like "#13: Null object" or something). > > Can this be logged to a file? So at least the last output the interpreter > spits out is logged... > > Cheers! > > > > > or now that I think of it, you could just: $ yourdeamonstarter > output.txt 2>&1 :-) (Oh where might I have seen that somewhere before ???) B -- B Bruen <adamn...@gnail.com (sort of)> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user