Update 'working/PtolemyGUI.C'

This commit is contained in:
Ryan Tang 2022-07-14 13:52:48 -04:00
parent c2cca3885f
commit a5993376b0

View File

@ -383,9 +383,9 @@ void MyMainFrame::Command(int ID) {
statusLabel->SetText("Running Ptolemy....."); statusLabel->SetText("Running Ptolemy.....");
int output = 1; int output = 1;
if( OS_Type == 1 ){ if( OS_Type == 1 ){
output = system("/opt/Ptolemy/Cleopatra/ptolemy <DWBA.in> DWBA.out"); output = system("../Cleopatra/ptolemy <DWBA.in> DWBA.out");
}else{ }else{
output = system("/opt/Ptolemy/Cleopatra/ptolemy_mac <DWBA.in> DWBA.out"); output = system("../Cleopatra/ptolemy_mac <DWBA.in> DWBA.out");
} }
statusLabel->SetText("Check terminal, if no massage, Ptolemy run well."); statusLabel->SetText("Check terminal, if no massage, Ptolemy run well.");