Don't select stdin when interactive=False
Don't select stdin when interactive=False

Patch from https://github.com/d11wtq/dockerpty/pull/24

Signed-off-by: Ben Firshman <73675debcd8a436be48ec22211dcf44fe0df0a64@firshman.co.uk>

ain/compose,Yelp/docker-compose,docker/docker.github.io,DoubleMalt/compose,docker/docker.github.io,genki/compose,docker/docker.github.io,phiroict/docker,joeuo/docker.github.io,jzwlqx/denverdino.github.io,dockerhn/compose,sanscontext/docker.github.io,moxiegirl/compose,tpounds/compose,KevinGreene/compose,denverdino/docker.github.io,MSakamaki/compose,tangkun75/compose,saada/compose,gdevillele/docker.github.io,kikkomep/compose,alunduil/fig,aduermael/docker.github.io,gdevillele/docker.github.io,shakamunyi/fig,hoogenm/compose,bsmr-docker/compose,calou/compose,qzio/compose,vlajos/compose,dopry/compose,BSWANG/denverdino.github.io,albers/compose,thieman/compose,philwrenn/compose,johnstep/docker.github.io,simonista/compose,j-fuentes/compose,BSWANG/denverdino.github.io,gdevillele/docker.github.io,menglingwei/denverdino.github.io,marcusmartins/compose,dnephin/compose,menglingwei/denverdino.github.io,qzio/compose,denverdino/denverdino.github.io,unodba/compose,sdurrheimer/compose,runcom/compose,shubheksha/docker.github.io,thaJeztah/docker.github.io,dockerhn/compose,LuisBosquez/docker.github.io,tiry/compose,BSWANG/denverdino.github.io,charleswhchan/compose,denverdino/denverdino.github.io,nerro/compose,shin-/compose,shin-/docker.github.io,ChrisChinchilla/compose,shin-/docker.github.io,bsmr-docker/compose,aanand/fig,docker/docker.github.io,shakamunyi/fig,ionrock/compose,GM-Alex/compose,LuisBosquez/docker.github.io,thaJeztah/docker.github.io,Dakno/compose,menglingwei/denverdino.github.io,jgrowl/compose,lukemarsden/compose,denverdino/docker.github.io,tangkun75/compose,LuisBosquez/docker.github.io,mbailey/compose,Katlean/fig,bdwill/docker.github.io,mindaugasrukas/compose,denverdino/docker.github.io,londoncalling/docker.github.io,KevinGreene/compose,viranch/compose,charleswhchan/compose,dnephin/compose,benhamill/compose,phiroict/docker,jeanpralo/compose,sanscontext/docker.github.io,danix800/docker.github.io,thaJeztah/docker.github.io,zhangspook/compose,alexandrev/compose,nhumrich/compose,johnstep/docker.github.io,jiekechoo/compose,bcicen/fig,aduermael/docker.github.io,joaofnfernandes/docker.github.io,menglingwei/denverdino.github.io,noironetworks/compose,bbirand/compose,thaJeztah/docker.github.io,mnowster/compose,bobphill/compose,joaofnfernandes/docker.github.io,danix800/docker.github.io,RobertNorthard/compose,TheDataShed/compose,thaJeztah/compose,ggtools/compose,rstacruz/compose,cclauss/compose,joaofnfernandes/docker.github.io,gdevillele/docker.github.io,thaJeztah/compose,bfirsh/fig,anweiss/docker.github.io,JimGalasyn/docker.github.io,au-phiware/compose,dbdd4us/compose,viranch/compose,marcusmartins/compose,DoubleMalt/compose,lmesz/compose,jonaseck2/compose,anweiss/docker.github.io,mdaue/compose,alunduil/fig,funkyfuture/docker-compose,bcicen/fig,hoogenm/compose,schmunk42/compose,shubheksha/docker.github.io,mosquito/docker-compose,uvgroovy/compose,artemkaint/compose,denverdino/compose,phiroict/docker,mohitsoni/compose,lmesz/compose,GM-Alex/compose,genki/compose,bdwill/docker.github.io,docker/docker.github.io,rillig/docker.github.io,swoopla/compose,aduermael/docker.github.io,rstacruz/compose,au-phiware/compose,pspierce/compose,michael-k/docker-compose,KalleDK/compose,joeuo/docker.github.io,docker-zh/docker.github.io,nerro/compose,mnuessler/compose,hypriot/compose,anweiss/docker.github.io,simonista/compose,shin-/docker.github.io,joeuo/docker.github.io,londoncalling/docker.github.io,saada/compose,xydinesh/compose,aduermael/docker.github.io,dilgerma/compose,mrfuxi/compose,denverdino/docker.github.io,shubheksha/docker.github.io,jrabbit/compose,johnstep/docker.github.io,mnowster/compose,screwgoth/compose,mohitsoni/compose,londoncalling/docker.github.io,mnuessler/compose,dopry/compose,gtrdotmcs/compose,rillig/docker.github.io,jessekl/compose,alexisbellido/docker.github.io,jzwlqx/denverdino.github.io,Chouser/compose,abesto/fig,bobphill/compose,shin-/compose,tiry/compose,cclauss/compose,ekristen/compose,prologic/compose,docker-zh/docker.github.io,josephpage/compose,ouziel-slama/compose,bfirsh/fig,runcom/compose,talolard/compose,BSWANG/denverdino.github.io,alexisbellido/docker.github.io,johnstep/docker.github.io,mrfuxi/compose,zhangspook/compose,docker-zh/docker.github.io,londoncalling/docker.github.io,rillig/docker.github.io,mark-adams/compose,brunocascio/compose,denverdino/compose,jonaseck2/compose,phiroict/docker,calou/compose,sanscontext/docker.github.io,d2bit/compose,ain/compose,noironetworks/compose,mark-adams/compose,cgvarela/compose,mindaugasrukas/compose,brunocascio/compose,abesto/fig,ouziel-slama/compose,aanand/fig,joeuo/docker.github.io,xydinesh/compose,KalleDK/compose,bdwill/docker.github.io,twitherspoon/compose,browning/compose,andrewgee/compose,danix800/docker.github.io,mchasal/compose,denverdino/denverdino.github.io,vlajos/compose,jzwlqx/denverdino.github.io,troy0820/docker.github.io,BSWANG/denverdino.github.io,mosquito/docker-compose,sanscontext/docker.github.io,TheDataShed/compose,Yelp/docker-compose,iamluc/compose,feelobot/compose,joaofnfernandes/docker.github.io,uvgroovy/compose,JimGalasyn/docker.github.io,sdurrheimer/compose,alexisbellido/docker.github.io,moxiegirl/compose,johnstep/docker.github.io,sebglazebrook/compose,RobertNorthard/compose,phiroict/docker,denverdino/docker.github.io,jeanpralo/compose,kikkomep/compose,benhamill/compose,kojiromike/compose,dilgerma/compose,troy0820/docker.github.io,sanscontext/docker.github.io,ph-One/compose,Katlean/fig,thieman/compose,mchasal/compose,bdwill/docker.github.io,troy0820/docker.github.io,hypriot/compose,LuisBosquez/docker.github.io,twitherspoon/compose,docker-zh/docker.github.io,michael-k/docker-compose,nhumrich/compose,kojiromike/compose,menglingwei/denverdino.github.io,JimGalasyn/docker.github.io,MSakamaki/compose,ralphtheninja/compose,iamluc/compose,joeuo/docker.github.io,ChrisChinchilla/compose,andrewgee/compose,jrabbit/compose,mdaue/compose,bdwill/docker.github.io,ekristen/compose,mbailey/compose,glogiotatidis/compose,bcicen/fig,sebglazebrook/compose,goloveychuk/compose,screwgoth/compose,joaofnfernandes/docker.github.io,jiekechoo/compose,JimGalasyn/docker.github.io,denverdino/denverdino.github.io,TomasTomecek/compose,shubheksha/docker.github.io,prologic/compose,Dakno/compose,gdevillele/docker.github.io,alexisbellido/docker.github.io,j-fuentes/compose,anweiss/docker.github.io,goloveychuk/compose,vdemeester/compose,funkyfuture/docker-compose,jorgeLuizChaves/compose,amitsaha/compose,londoncalling/docker.github.io,glogiotatidis/compose,shubheksha/docker.github.io,philwrenn/compose,alexisbellido/docker.github.io,jessekl/compose,d2bit/compose,ionrock/compose,VinceBarresi/compose,ph-One/compose,gtrdotmcs/compose,shin-/docker.github.io,talolard/compose,TomasTomecek/compose,alexandrev/compose,ZJaffee/compose,docker-zh/docker.github.io,rgbkrk/compose,swoopla/compose,artemkaint/compose,JimGalasyn/docker.github.io,ZJaffee/compose,ralphtheninja/compose,feelobot/compose,thaJeztah/docker.github.io,josephpage/compose,amitsaha/compose,vdemeester/compose,anweiss/docker.github.io,bbirand/compose,LuisBosquez/docker.github.io,jorgeLuizChaves/compose,pspierce/compose,unodba/compose,jzwlqx/denverdino.github.io,browning/compose,ggtools/compose,tpounds/compose,denverdino/denverdino.github.io,shin-/docker.github.io,jzwlqx/denverdino.github.io,VinceBarresi/compose,rgbkrk/compose,jgrowl/compose,albers/compose,dbdd4us/compose,rillig/docker.github.io,schmunk42/compose,cgvarela/compose,danix800/docker.github.io,Chouser/compose,troy0820/docker.github.io,lukemarsden/compose