[PyQt] QProcess Persistence
Dominic Drane
dom at reality-debug.co.uk
Thu Oct 27 14:00:45 BST 2011
I'm having problems with QProcess, I'd like to rlogin into a machine at the
start of the process and then write commands into stdin but as soon as I
call the following (I'm on a linux box):
from PyQt4 import QtGui, QtCore
class TestWindow(QtGui.QDialog):
def __init__(self):
QtGui.QDialog.__init__(self)
proc = QtCore.QProcess()
proc.start("rlogin membrane")
proc.write("ooffice")
win = TestWindow()
win.show()
The process.write() method doesn't appear to be called. Any ideas?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20111027/1d334300/attachment.html>
More information about the PyQt
mailing list