Hi, I use QNX Neutrino 6.5.0.
I make Qt-gui application, which start a console-process. App can read all data available from the standard or error
output of console and write data to the form. Also I can to write a command on app-form, and send command to console.
My application work with “sh”, but don’t work with “/dev/con1”.
How can I to start “dev/con1” in my application ?
An example, how my app work with “sh”:
source file;
//----------------------------------------------------------------------------------------------
proc = new QProcess; //sh - process
....
//Then clicked on Enter-key, command(*cmd) send in this function
func (QString *cmd)
{
QString *str = new QString;
*str = "sh " + *cmd;
proc->start(*str, QIODevice::ReadWrite);
}
//-------------------------------------------------------------------------------------------