Sorry if my cosmetic changes somehow have hidden the important piece.
It works here because of the "ignoring application responses" block
in the calling script...
Ah, so! Now this begins to make sense. So the call to glog
triggered the run handler, which returned nothing. The parameter in
the call to glog was just lost, eh?
To make a model of these findings so I can remember it:
The first call to an unlaunched app will only run the run handler.
We must wait (2 seconds or so) until the app is finished launching
before we can address the app's other handlers.
I naively thought the first call could both launch the app AND run
its called handler. But no. That's not how it works.