Skip to content

Instantly share code, notes, and snippets.

@skurfuerst
Created August 30, 2011 13:22
Show Gist options
  • Save skurfuerst/1180865 to your computer and use it in GitHub Desktop.
Save skurfuerst/1180865 to your computer and use it in GitHub Desktop.
chan=client.openProcessChannel();
connect(chan,SIGNAL(readyRead()),this,SLOT(readyRead()));
chan->start("ls\n");
void MyClass::readyRead() {
qDebug() << "ready read";
qDebug()<<chan->readAll();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment