Seems to be a lot of people interested in this…
There’s some pointers in these threads:
Maybe Fabian’s comment about using an interprocessConnection is more relevant.