bashamehboob
31st March 2008, 04:46
Hi ALL,
I need to lauch a process remotely.For this ,Should i go about like this.
system("rsh -n remotehost");
if(USE_64BIT)
{
qDebug()<<"64bit==on";
list = (QStringList()<<"--config-file"<<configFile<<"--config-wizard"<<"TRUE"<<"--use-64bit");
qDebug()<< list;
}
else
{
qDebug()<<"64bit not on";
list = (QStringList()<<"--config-file"<<configFile<<"--config-wizard"<<"TRUE"<<);
}
proc = new QProcess(this);
proc->setReadChannel(QProcess::StandardError);
proc->start(home,list,QIODevice::ReadOnly);
am I doing wrong any where . Please help me.
regards,
I need to lauch a process remotely.For this ,Should i go about like this.
system("rsh -n remotehost");
if(USE_64BIT)
{
qDebug()<<"64bit==on";
list = (QStringList()<<"--config-file"<<configFile<<"--config-wizard"<<"TRUE"<<"--use-64bit");
qDebug()<< list;
}
else
{
qDebug()<<"64bit not on";
list = (QStringList()<<"--config-file"<<configFile<<"--config-wizard"<<"TRUE"<<);
}
proc = new QProcess(this);
proc->setReadChannel(QProcess::StandardError);
proc->start(home,list,QIODevice::ReadOnly);
am I doing wrong any where . Please help me.
regards,