in reply to Perl/Tk C++ Interaction

It sounds like there's nothing C++ specific in your question. Starting an external command, reading its output and stopping it are tasks that can be done with any executable.

You can open a pipe (see also perlopentut), or rely on some more high-level interfaces like IPC::Run or (not quite as high-level iirc) IPC::Open3.