On Wed, 21 Jun 2017, Tobias Boege wrote:
> Attached are two scripts
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
#!/usr/bin/gbs3
Public Sub Main()
Print "a"
Application.Daemon = True
Wait 0.1 ' ensure we daemon'd(?)
Print "b"
Print 1 / 0
Print "c"
End
#!/usr/bin/gbs3
Public Sub Main()
Dim h, g As File
h = Open "/tmp/log" For Write Create
Output To #h
g = Open "/tmp/log2" For Write Create
Error To #g
Print "a"
Application.Daemon = True
Wait 0.1 ' ensure we daemon'd(?)
Print "b"
Print 1 / 0
Print "c"
Close #h
Close #g
End
------------------------------------------------------------------------------
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