MAINT: Fix ResourceWarning new in Python 3.6.
MAINT: Fix ResourceWarning new in Python 3.6.

In Python 2.6 the process destructor emits a ResourceWarning if the
process has not terminated when destruction occurs. Fix by calling the
wait method before return.

The Popen class may be used as a context manager in Python 3.2+,
unfortunately that does not include 2.7.

WarrenWeckesser/numpy,abalkin/numpy,maniteja123/numpy,jorisvandenbossche/numpy,madphysicist/numpy,pbrod/numpy,seberg/numpy,pbrod/numpy,mhvk/numpy,pdebuyl/numpy,ssanderson/numpy,stuarteberg/numpy,numpy/numpy,endolith/numpy,bertrand-l/numpy,stuarteberg/numpy,WarrenWeckesser/numpy,anntzer/numpy,MSeifert04/numpy,shoyer/numpy,madphysicist/numpy,grlee77/numpy,charris/numpy,simongibbons/numpy,jakirkham/numpy,pizzathief/numpy,ahaldane/numpy,rgommers/numpy,ContinuumIO/numpy,MSeifert04/numpy,Eric89GXL/numpy,madphysicist/numpy,endolith/numpy,b-carter/numpy,Eric89GXL/numpy,maniteja123/numpy,behzadnouri/numpy,shoyer/numpy,njase/numpy,jakirkham/numpy,simongibbons/numpy,MSeifert04/numpy,WarrenWeckesser/numpy,mhvk/numpy,grlee77/numpy,jorisvandenbossche/numpy,WarrenWeckesser/numpy,solarjoe/numpy,bringingheavendown/numpy,grlee77/numpy,jorisvandenbossche/numpy,jorisvandenbossche/numpy,bringingheavendown/numpy,grlee77/numpy,mattip/numpy,MSeifert04/numpy,ContinuumIO/numpy,solarjoe/numpy,tynn/numpy,jakirkham/numpy,ahaldane/numpy,simongibbons/numpy,mhvk/numpy,njase/numpy,pbrod/numpy,njase/numpy,abalkin/numpy,anntzer/numpy,seberg/numpy,Eric89GXL/numpy,numpy/numpy,mattip/numpy,simongibbons/numpy,chatcannon/numpy,Eric89GXL/numpy,anntzer/numpy,rgommers/numpy,pbrod/numpy,b-carter/numpy,grlee77/numpy,bertrand-l/numpy,madphysicist/numpy,utke1/numpy,pbrod/numpy,seberg/numpy,endolith/numpy,anntzer/numpy,ddasilva/numpy,gfyoung/numpy,stuarteberg/numpy,behzadnouri/numpy,jorisvandenbossche/numpy,charris/numpy,mhvk/numpy,mattip/numpy,solarjoe/numpy,jakirkham/numpy,shoyer/numpy,rgommers/numpy,ddasilva/numpy,numpy/numpy,simongibbons/numpy,shoyer/numpy,bertrand-l/numpy,chatcannon/numpy,seberg/numpy,mattip/numpy,tynn/numpy,pdebuyl/numpy,utke1/numpy,mhvk/numpy,ssanderson/numpy,abalkin/numpy,pizzathief/numpy,ddasilva/numpy,maniteja123/numpy,pizzathief/numpy,madphysicist/numpy,chatcannon/numpy,charris/numpy,ahaldane/numpy,pizzathief/numpy,gfyoung/numpy,ahaldane/numpy,stuarteberg/numpy,endolith/numpy,ssanderson/numpy,ContinuumIO/numpy,pizzathief/numpy,bringingheavendown/numpy,shoyer/numpy,pdebuyl/numpy,pdebuyl/numpy,utke1/numpy,numpy/numpy,WarrenWeckesser/numpy,gfyoung/numpy,rgommers/numpy,tynn/numpy,MSeifert04/numpy,behzadnouri/numpy,ahaldane/numpy,jakirkham/numpy,b-carter/numpy,charris/numpy