Closed prefixFelix closed 2 years ago
Maybe this is a misunderstanding, "rc" should be the return code and not the output of a script.
Ah ok now I understand. Maybe I should have noticed that earlier. So .rc is simply an integer which represents the exit code of the script? Is there a way to also interact with the output or is the "Trigger Command" function actually not meant for that?
Yes, exactly. "Trigger Command" is actually not meant to import data into URH, please use "External Program"s for this purpose.
All right thanks for the infos. I would like to submit a small addition to the Wiki: One could mention that when using the "External Program" function, not the entire transcript is passed, but only the direction of the messages without the names of the participants (<- / ->).
Alright! I have modified the wiki accordingly. Thanks for the suggestion!
Expected Behavior
The output of script stdout.py should be accessible via the item identifier item1.rc.
Actual Behavior
URH detects the correct output (see log), but it cannot be accessed via item1.rc. Only eight 0's are set (which corresponds to the number of the actual field length). If you directly use the option "External Program" everything works as expected. I have also checked that it is not a display error.
Simulator flow graph:
Log:
Simulator tab:
Steps To Reproduce
Platform Specifications