When attempting to load a program that does not exist in /Programs, the function still returns True, even though the actually loaded program on the robot becomes None.
Additionally, the parser only handles the longer RUNSTATE message. Shorter messages (such as "CRISTART 1234 RUNSTATE progName ...... CRIEND") are never parsed. Because of this, it is nearly impossible for a script to detect when a program fails to load.
When attempting to load a program that does not exist in /Programs, the function still returns True, even though the actually loaded program on the robot becomes None.
Additionally, the parser only handles the longer RUNSTATE message. Shorter messages (such as "CRISTART 1234 RUNSTATE progName ...... CRIEND") are never parsed. Because of this, it is nearly impossible for a script to detect when a program fails to load.