It always returns 0.
Did I something wrong?
Here is an example with tries to execute an unknown command "Echo2".
Code: Select all
@VERSION 11,0
rc, out = Execute("Echo2", "Hallo", {CaptureOutput=True})
DebugPrint("rc = "..rc)
DebugPrint("out = "..out)
If rc = 0
DebugPrint("Successful")
Else
DebugPrint("Failed!")
Endif