GNU Radio Python execution from C++

I want to start up and control GNU Radio from a C++ class I
have written. My thought was to execlp() python on the
file. I run into a problem because I do not have a good way to kill GNU
Radio from my class short of sending a SIGINT. How do you recommend I do

I’m somewhat new to GNU Radio and Python and imagine there are better
way to do things. I realize I can code my radios directly by coding in
C++ or Python, but I want to allow users to run GRC GUI to define the
radios so I want to use the GRC file to describe the radio and generate
the Python file using grcc.

Hi Mark,

in many cases, you should just construct your top_block in C++, start()
and stop() it from there and leave python alone.