'Non-UI application (console / server application)
#Region Project Attributes
#CommandLineArgs:
#MergeLibraries: True
#End Region
Sub Process_Globals
End Sub
Sub AppStart (Args() As String)
Log("Hello")
Dim shl As Shell
shl.Initialize("shl", "C:\Users\Tyrion\AppData\Local\Continuum\anaconda3\python", Array("C:\Users\Tyrion\Desktop\Maths\truc.py"))
shl.Run(30000)
Wait For shl_ProcessCompleted (Success As Boolean, ExitCode As Int, StdOut As String, StdErr As String)
If Success=True Then
Log("Success")
Else
Log("Failure")
End If
If Success Then
Log(StdOut)
Log(ExitCode)
Log(StdErr)
End If
StartMessageLoop
End Sub