Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
PtyQt.h
✓ #include <PtyQt.h>
Start a bash shell and read output
#include <PtyQt.h>
#include <QCoreApplication>
int main(int argc, char *argv[]) {
QCoreApplication app(argc, argv);
PtyQt pty;
pty.start("/bin/bash");
pty.write("echo hello\n");
QObject::connect(&pty, &PtyQt::readyRead, [&]() {
qDebug() << pty.readAll();
app.quit();
});
return app.exec();
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.