I am trying to execute the following code (which works with other programming languages PHP, C etc), but i cannot get a return in B4J, help is appreciated!
@Daestrum I have the sub, posted below.
It just reports:
Waiting for debugger to connect...
Program started.
Success
Microsoft Windows [Version 10.0.16299.431]
(c) 2017 Microsoft Corporation. Todos os direitos reservados.
Waiting for debugger to connect...
Program started.
Success
F8952fjEClltx2tF9m6/QTFynFjSuiboMslNZ1ag9oR5iIivgYYa0cNa0wJeWXlsf8QQVHUol303hp7XmIy5/kFOiV0v8QH6SF0Q5zNsDtpeFh2ZJ256y0DkJMSQqCq3oSka+9zIXXRkXgEsSv6VScCYv8VTlIcGjsablpR6A4=
Sub shl_ProcessCompleted (Success As Boolean, ExitCode As Int, StdOut As String, StdErr As String)
If Success And ExitCode = 0 Then
Log("Success")
Log(StdOut)
Else
Log("Error: " & StdErr)
End If
ExitApplication
End Sub
Instead of pipping the string into openssl i wrote it to a file (test1.txt), then pipped it's contents, but i would like to avoid writing it to a text file...