title: How to return a command from a c++ application to parent terminal?
body: <p>Is it possible to run a c++ application from a terminal and on certain conditions return a command back into the terminal from which it was called from? For instance, if I were to run an application within my terminal and after my selections; my application needs to change my PATH by running an export command such as:</p>
  
  <p><em>(USING BASH)</em></p>
  
  <pre><code>export PATH=.:/home/User/application/bin:$PATH
  </code></pre>
  
  <p>After I'm done and before my application completely closes can I make the application change my terminals local environment variables with the above command? Does Qt offer a way of doing this? Thanks in advance for any help!</p>