How can I do to close all files used by functions that I use in my plugin like


os.popen("gdalwarp -q -cutline.......)

After runing my function, if I want to run it another time, I have to close QGIS and reload it again.

  • I have not tried it, but what if you do with os.popen("gdalwarp -q -cutline.......): and next line indentate pass – BERA May 22 '19 at 8:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.