Re: Execute with CaptureOutput set to true doesn't returns rc
Posted: Sun Sep 20, 2026 6:39 pm
The Cross-Platform Multimedia Application Layer
https://www.hollywood-mal.com/forums/
Code: Select all
@VERSION 11,0
rc, out = Execute("c:RequestChoice", "Hallo", {CaptureOutput=True})
DebugPrint("rc = "..rc)
DebugPrint("out = "..out)
If rc = 0
DebugPrint("Successful")
Else
DebugPrint("Failed!")
Endif
Code: Select all
0:00.02 [ 0] Dev:Hollywood/my/> Tests/Execute.hws
rc = 0
out = RequestChoice: Gefordertes Argument fehlt
c:RequestChoice fehlgeschlagen Rückgabewert 20
Successful
0:00.44 [ 0] Dev:Hollywood/my/>