d4rc
30th June 2010, 09:29
I need execute a comand to console(Linux), example mkdir. how I do this comand? when I paste comand in console this run.
i have this:
comand = new QString("comand");
process = new QProcess(this);
parameter = new QStringList;
parameter->append("");
process->start(*comand,*parameter);
i have this:
comand = new QString("comand");
process = new QProcess(this);
parameter = new QStringList;
parameter->append("");
process->start(*comand,*parameter);