I want to run the commands contained in setup.csh
concurrently using QProcess.
The deneme
variable is a command in the setup.csh
file:
alias deneme "ls -la"
My purpose is to run a command guide in that setup.csh.
QProcess *process1=new QProcess(this);
process1->setWorkingDirectory("/home/intern2/elif/SETUP");
process1->start("tcsh",QStringList() <<"-c"<<"\"\"source /home/intern2/elif/SETUP/setup.csh\"\"" << "deneme" );
process->waitForBytesWritten();
process1->waitForFinished();
ui.textedit->append(process.readAllStandartOutput());
"deneme" command not working
Terminal output:
Gui code and output