sketch a little bit more, but this is very rough

The command is hard-coded for now, that is fine.

However, the pipe does not behave as I would expect.
Also the whole thing is very old-school C ...
  ... it really needs some C++ love to make it more Qt and C++ idiomatic