Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.Show
shl.Initialize("shl", "python", Array As String("C:\python\telethon\telethontest.py"))
shl.RunWithOutputEvents(-1)
End Sub
Sub shl_ProcessCompleted (Success As Boolean, ExitCode As Int, StdOut As String, StdErr As String)
Log (StdOut)
Log (StdErr)
Log (ExitCode)
Log(Success)
End Sub