By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,818 Members | 1,282 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,818 IT Pros & Developers. It's quick & easy.

PyQT, QProcess.readyReadStdout() problem

P: n/a
part of code:

try:
self.isdnlog = QProcess(self)
self.isdnlog.addArgument("/usr/bin/tail")
self.isdnlog.addArgument("-f")
self.isdnlog.addArgument("/home/aljosa/qt/isdn.log")
[...]
QObject.connect(self.isdnlog, SIGNAL("readyReadStdout()"),
self.onPhoneCall)
self.isdnlog.start()
<<<

problem is that isdnlog logs 2 or more lines per call, and QProcess
moves one line per call. is there something like
QProcess.readLastLine()?

Aljosa

Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.