|No such thing as a small change
Did you get as far as my own reply and its follow up in that thread? It looks like a pretty good fit for what you want. The key is the session management stuff that allows the long running app to communicate back to the manager app.
Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
In reply to Re^3: Can I have a Perl script, initiated from a browser, fork itself, and not wait for the child to end?