It should be quite easy to do what you want if you used a kind of proxy between the detached process and minicom. Minicom should start a wrapper that would in turn start the target application and create two named pipes. Then if the Qt app crashes, it could spawn another wrapper (though the terminal again) and it could reuse the already existing pipe to the original wrapper to communicate with the app. A little overhead with using those wrappers, but it should work.
Bookmarks