1) Never close stdout/stderr before restoring the original (that may cause problems e.g. with the asynchronous signal handler), 2) General cleanup
1) Never close stdout/stderr before restoring the original (that may cause problems e.g. with the asynchronous signal handler), 2) General cleanup

JackNokia/robotframework,snyderr/robotframework,robotframework/robotframework,ashishdeshpande/robotframework,xiaokeng/robotframework,JackNokia/robotframework,snyderr/robotframework,xiaokeng/robotframework,suvarnaraju/robotframework,yonglehou/robotframework,jorik041/robotframework,joongh/robotframework,jorik041/robotframework,SivagnanamCiena/robotframework,moto-timo/robotframework,ashishdeshpande/robotframework,synsun/robotframework,jaloren/robotframework,alexandrul-ci/robotframework,Colorfulstan/robotframework,stasiek/robotframework,kurtdawg24/robotframework,un33k/robotframework,moto-timo/robotframework,un33k/robotframework,userzimmermann/robotframework,alexandrul-ci/robotframework,Colorfulstan/robotframework,Colorfulstan/robotframework,wojciechtanski/robotframework,joongh/robotframework,kyle1986/robortframe,stasiek/robotframework,userzimmermann/robotframework,kyle1986/robortframe,un33k/robotframework,suvarnaraju/robotframework,alexandrul-ci/robotframework,edbrannin/robotframework,yonglehou/robotframework,wojciechtanski/robotframework,eric-stanley/robotframework,kyle1986/robortframe,moto-timo/robotframework,userzimmermann/robotframework,nmrao/robotframework,eric-stanley/robotframework,wojciechtanski/robotframework,JackNokia/robotframework,wojciechtanski/robotframework,yahman72/robotframework,robotframework/robotframework,dkentw/robotframework,yahman72/robotframework,yahman72/robotframework,eric-stanley/robotframework,robotframework/robotframework,rwarren14/robotframework,kurtdawg24/robotframework,kurtdawg24/robotframework,edbrannin/robotframework,nmrao/robotframework,nmrao/robotframework,yahman72/robotframework,snyderr/robotframework,jaloren/robotframework,kyle1986/robortframe,dkentw/robotframework,wojciechtanski/robotframework,stasiek/robotframework,jaloren/robotframework,alexandrul-ci/robotframework,ashishdeshpande/robotframework,ChrisHirsch/robotframework,rwarren14/robotframework,rwarren14/robotframework,dkentw/robotframework,SivagnanamCiena/robotframework,edbrannin/robotframework,jaloren/robotframework,jorik041/robotframework,Colorfulstan/robotframework,kurtdawg24/robotframework,ChrisHirsch/robotframework,un33k/robotframework,yonglehou/robotframework,moto-timo/robotframework,SivagnanamCiena/robotframework,SivagnanamCiena/robotframework,synsun/robotframework,snyderr/robotframework,fingeronthebutton/robotframework,ChrisHirsch/robotframework,xiaokeng/robotframework,joongh/robotframework,synsun/robotframework,ashishdeshpande/robotframework,Colorfulstan/robotframework,un33k/robotframework,stasiek/robotframework,suvarnaraju/robotframework,HelioGuilherme66/robotframework,SivagnanamCiena/robotframework,fingeronthebutton/robotframework,alexandrul-ci/robotframework,xiaokeng/robotframework,JackNokia/robotframework,yahman72/robotframework,jorik041/robotframework,fingeronthebutton/robotframework,yonglehou/robotframework,suvarnaraju/robotframework,edbrannin/robotframework,edbrannin/robotframework,synsun/robotframework,xiaokeng/robotframework,snyderr/robotframework,kurtdawg24/robotframework,jorik041/robotframework,joongh/robotframework,suvarnaraju/robotframework,dkentw/robotframework,nmrao/robotframework,JackNokia/robotframework,eric-stanley/robotframework,yonglehou/robotframework,synsun/robotframework,fingeronthebutton/robotframework,joongh/robotframework,ChrisHirsch/robotframework,rwarren14/robotframework,fingeronthebutton/robotframework,HelioGuilherme66/robotframework,ChrisHirsch/robotframework,jaloren/robotframework,kyle1986/robortframe,dkentw/robotframework,userzimmermann/robotframework,rwarren14/robotframework,stasiek/robotframework,ashishdeshpande/robotframework,moto-timo/robotframework,nmrao/robotframework,HelioGuilherme66/robotframework,userzimmermann/robotframework