Hi guys, I am developing an small app to execute the command export for set a proxy on my OS (Linux of course). I using the method:
def applyChanges(self): # Variables para poder asignar la URL del Proxy httpExport = "export http_proxy=http://" + self.proxyHttpLineEdit.text() + ":" + self.httpProxySpinBox.text() httpsExport = "export https_proxy=http://" + self.proxyHttpsLineEdit.text() + ":" + self.httpsProxySpinBox.text() ftpExport = "export ftp_proxy=http://" + self.proxyFtpLineEdit.text() + ":" + self.ftpProxySpinBox.text() self.httpProcess = QProcess() self.httpsProcess = QProcess() self.ftpProcess = QProcess() # Esto solo des un debug para ver exactamente la salida de dichas variables # TODO: una vez funcionando bien este método, comentar estas líneas #print httpExport #print httpsExport #print ftpExport # Ejecutamos el preceso o comando self.httpProcess.start(httpExport) self.httpsProcess.start(httpsExport) self.ftpProcess.start(ftpExport) But the command is not being executed since i still have the export of the proxy variables empty. What i am doing wrong here? Thanks -- Gustavo A. Díaz GDNet Projects www.gdnet.com.ar
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt