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
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to