I am trying to list all the pattern of /dev/tty but it is giving the error ls: cannot access /dev/tty*: No such file or directory
Qt Code:
QStringList sArgs; sArgs << "/dev/tty*"; process->start("ls", sArgs); process->waitForFinished(-1); qDebug() << process->readAllStandardOutput(); qDebug() << process->readAllStandardError();To copy to clipboard, switch view to plain text mode
Bookmarks