I am using qt creator to make UI. I created the push button which i can run external exe file buy clicking, and also i have second push button. I want to insert text "gogo1" in the external exe file using second push button clicked. The external exe program looks like cmd. Can anyone help me?

This is my code for first push button to run external program

void MainWindow:n_pushButton_8_clicked()
QProcess *process = new QProcess(this);
QString file("D:\\Python_practice\\proto4\\Surface Evolver Code\\F_Passive_for_UI.fe");

and for second push button.

void MainWindow:n_pushButton_9_clicked()


This is the portion of external exe program. Please click to see the image