[Qgis-developer] how to run an external program from QGIS and catch its output?

hugoledoux h.ledoux at tudelft.nl
Thu Mar 20 08:13:47 PDT 2014

Thanks Piotr, QProcess did the trick. 

process = QProcess(iface)
returnedstring = str(process.readAllStandardOutput())
print returnedstring

View this message in context: http://osgeo-org.1560.x6.nabble.com/how-to-run-an-external-program-from-QGIS-and-catch-its-output-tp5129610p5130161.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.

More information about the Qgis-developer mailing list