Synchronize reads of task's stdout/stderr
Synchronize reads of task's stdout/stderr

This ensures that all the available data on standard
out and standard error has been read before the terminate
handler calls the JavaScript callback.

Without this synchronization the command panel specs
occasionally fail.

Austen-G/BlockBuilder,vinodpanicker/atom,panuchart/atom,medovob/atom,dkfiresky/atom,Austen-G/BlockBuilder,nvoron23/atom,BogusCurry/atom,liuderchi/atom,deepfox/atom,hpham04/atom,batjko/atom,Abdillah/atom,jacekkopecky/atom,sillvan/atom,hagb4rd/atom,jacekkopecky/atom,stinsonga/atom,efatsi/atom,deepfox/atom,Huaraz2/atom,ykeisuke/atom,woss/atom,vcarrera/atom,scippio/atom,AlbertoBarrago/atom,stinsonga/atom,alexandergmann/atom,bryonwinger/atom,sebmck/atom,prembasumatary/atom,ezeoleaf/atom,bryonwinger/atom,acontreras89/atom,lpommers/atom,yalexx/atom,rsvip/aTom,jtrose2/atom,hpham04/atom,me-benni/atom,chengky/atom,pombredanne/atom,vinodpanicker/atom,acontreras89/atom,targeter21/atom,tony612/atom,cyzn/atom,ppamorim/atom,rmartin/atom,palita01/atom,yomybaby/atom,decaffeinate-examples/atom,FoldingText/atom,targeter21/atom,woss/atom,elkingtonmcb/atom,FoldingText/atom,cyzn/atom,ezeoleaf/atom,transcranial/atom,svanharmelen/atom,qiujuer/atom,anuwat121/atom,kdheepak89/atom,sxgao3001/atom,AdrianVovk/substance-ide,rmartin/atom,tony612/atom,ashneo76/atom,tony612/atom,AlexxNica/atom,omarhuanca/atom,MjAbuz/atom,jlord/atom,fscherwi/atom,MjAbuz/atom,ironbox360/atom,efatsi/atom,Shekharrajak/atom,kjav/atom,crazyquark/atom,t9md/atom,vjeux/atom,synaptek/atom,tmunro/atom,panuchart/atom,Jandersoft/atom,pombredanne/atom,n-riesco/atom,dsandstrom/atom,bencolon/atom,Jandersoft/atom,hellendag/atom,AlisaKiatkongkumthon/atom,vcarrera/atom,andrewleverette/atom,yamhon/atom,bryonwinger/atom,Ju2ender/atom,kjav/atom,jtrose2/atom,mostafaeweda/atom,originye/atom,synaptek/atom,execjosh/atom,bolinfest/atom,dkfiresky/atom,dkfiresky/atom,transcranial/atom,Jdesk/atom,bradgearon/atom,charleswhchan/atom,gabrielPeart/atom,brumm/atom,amine7536/atom,Mokolea/atom,basarat/atom,devmario/atom,Jdesk/atom,kaicataldo/atom,CraZySacX/atom,phord/atom,lovesnow/atom,rookie125/atom,Abdillah/atom,bsmr-x-script/atom,mdumrauf/atom,Neron-X5/atom,Klozz/atom,toqz/atom,scv119/atom,constanzaurzua/atom,Galactix/atom,chengky/atom,jtrose2/atom,kc8wxm/atom,yamhon/atom,omarhuanca/atom,erikhakansson/atom,vjeux/atom,kittens/atom,bradgearon/atom,russlescai/atom,Jdesk/atom,Galactix/atom,nvoron23/atom,YunchengLiao/atom,ali/atom,KENJU/atom,ali/atom,kc8wxm/atom,gzzhanghao/atom,codex8/atom,gisenberg/atom,pengshp/atom,yalexx/atom,qskycolor/atom,mdumrauf/atom,omarhuanca/atom,russlescai/atom,mrodalgaard/atom,ivoadf/atom,pengshp/atom,woss/atom,davideg/atom,florianb/atom,yangchenghu/atom,mnquintana/atom,kjav/atom,Hasimir/atom,kandros/atom,vcarrera/atom,001szymon/atom,lisonma/atom,boomwaiza/atom,john-kelly/atom,basarat/atom,mnquintana/atom,GHackAnonymous/atom,Andrey-Pavlov/atom,liuxiong332/atom,russlescai/atom,ironbox360/atom,fedorov/atom,kittens/atom,liuxiong332/atom,G-Baby/atom,gontadu/atom,palita01/atom,mrodalgaard/atom,brettle/atom,jtrose2/atom,chengky/atom,florianb/atom,batjko/atom,NunoEdgarGub1/atom,johnhaley81/atom,devoncarew/atom,gisenberg/atom,liuderchi/atom,mostafaeweda/atom,rlugojr/atom,Hasimir/atom,001szymon/atom,amine7536/atom,Abdillah/atom,h0dgep0dge/atom,jjz/atom,Andrey-Pavlov/atom,oggy/atom,dijs/atom,davideg/atom,gontadu/atom,anuwat121/atom,gabrielPeart/atom,gontadu/atom,alexandergmann/atom,ashneo76/atom,ilovezy/atom,t9md/atom,chfritz/atom,FIT-CSE2410-A-Bombs/atom,davideg/atom,abe33/atom,YunchengLiao/atom,amine7536/atom,dijs/atom,sekcheong/atom,hakatashi/atom,rxkit/atom,hpham04/atom,Austen-G/BlockBuilder,russlescai/atom,synaptek/atom,sillvan/atom,gzzhanghao/atom,ykeisuke/atom,Jdesk/atom,crazyquark/atom,rlugojr/atom,wiggzz/atom,matthewclendening/atom,lpommers/atom,SlimeQ/atom,lovesnow/atom,BogusCurry/atom,toqz/atom,hellendag/atom,helber/atom,matthewclendening/atom,einarmagnus/atom,lisonma/atom,CraZySacX/atom,wiggzz/atom,DiogoXRP/atom,targeter21/atom,bcoe/atom,champagnez/atom,GHackAnonymous/atom,seedtigo/atom,basarat/atom,fang-yufeng/atom,synaptek/atom,rsvip/aTom,qiujuer/atom,Arcanemagus/atom,Andrey-Pavlov/atom,Sangaroonaom/atom,hpham04/atom,dannyflax/atom,woss/atom,AlisaKiatkongkumthon/atom,andrewleverette/atom,svanharmelen/atom,hagb4rd/atom,me6iaton/atom,rxkit/atom,Neron-X5/atom,bolinfest/atom,mostafaeweda/atom,tanin47/atom,alfredxing/atom,liuxiong332/atom,FoldingText/atom,phord/atom,jeremyramin/atom,synaptek/atom,charleswhchan/atom,hakatashi/atom,G-Baby/atom,hakatashi/atom,Hasimir/atom,Arcanemagus/atom,dkfiresky/atom,isghe/atom,ezeoleaf/atom,tisu2tisu/atom,woss/atom,elkingtonmcb/atom,basarat/atom,KENJU/atom,ReddTea/atom,brettle/atom,deoxilix/atom,jacekkopecky/atom,nvoron23/atom,burodepeper/atom,bcoe/atom,vjeux/atom,jtrose2/atom,darwin/atom,charleswhchan/atom,jacekkopecky/atom,g2p/atom,isghe/atom,Sangaroonaom/atom,fscherwi/atom,dsandstrom/atom,ilovezy/atom,lovesnow/atom,vjeux/atom,nrodriguez13/atom,Rodjana/atom,andrewleverette/atom,Huaraz2/atom,matthewclendening/atom,bencolon/atom,FoldingText/atom,mostafaeweda/atom,Jandersolutions/atom,gisenberg/atom,kdheepak89/atom,deepfox/atom,bryonwinger/atom,johnrizzo1/atom,ardeshirj/atom,nvoron23/atom,kc8wxm/atom,yamhon/atom,isghe/atom,targeter21/atom,hharchani/atom,RuiDGoncalves/atom,Andrey-Pavlov/atom,qskycolor/atom,abcP9110/atom,Austen-G/BlockBuilder,jjz/atom,mnquintana/atom,Jonekee/atom,PKRoma/atom,liuderchi/atom,001szymon/atom,codex8/atom,fang-yufeng/atom,jeremyramin/atom,hharchani/atom,0x73/atom,Rychard/atom,Dennis1978/atom,seedtigo/atom,RobinTec/atom,hakatashi/atom,einarmagnus/atom,florianb/atom,RobinTec/atom,ali/atom,KENJU/atom,RobinTec/atom,scv119/atom,Shekharrajak/atom,vhutheesing/atom,fscherwi/atom,ObviouslyGreen/atom,AlbertoBarrago/atom,mertkahyaoglu/atom,liuxiong332/atom,chfritz/atom,Jandersolutions/atom,GHackAnonymous/atom,Sangaroonaom/atom,deepfox/atom,Huaraz2/atom,jacekkopecky/atom,ppamorim/atom,kjav/atom,dsandstrom/atom,alfredxing/atom,sxgao3001/atom,kittens/atom,mrodalgaard/atom,0x73/atom,Austen-G/BlockBuilder,NunoEdgarGub1/atom,sebmck/atom,acontreras89/atom,ardeshirj/atom,ilovezy/atom,fang-yufeng/atom,acontreras89/atom,Neron-X5/atom,sxgao3001/atom,g2p/atom,yangchenghu/atom,bj7/atom,bcoe/atom,avdg/atom,RuiDGoncalves/atom,phord/atom,vcarrera/atom,bsmr-x-script/atom,champagnez/atom,NunoEdgarGub1/atom,rxkit/atom,codex8/atom,atom/atom,xream/atom,tjkr/atom,niklabh/atom,ppamorim/atom,jordanbtucker/atom,kevinrenaers/atom,nucked/atom,toqz/atom,Jandersoft/atom,Klozz/atom,rmartin/atom,Jonekee/atom,brettle/atom,codex8/atom,Ju2ender/atom,stinsonga/atom,pombredanne/atom,folpindo/atom,tanin47/atom,scv119/atom,ObviouslyGreen/atom,sebmck/atom,anuwat121/atom,originye/atom,nucked/atom,burodepeper/atom,t9md/atom,Mokolea/atom,yomybaby/atom,me-benni/atom,AlexxNica/atom,sebmck/atom,githubteacher/atom,Galactix/atom,Locke23rus/atom,jlord/atom,G-Baby/atom,CraZySacX/atom,dannyflax/atom,sillvan/atom,Arcanemagus/atom,rjattrill/atom,lovesnow/atom,ppamorim/atom,hharchani/atom,Shekharrajak/atom,rmartin/atom,PKRoma/atom,matthewclendening/atom,Rodjana/atom,jlord/atom,davideg/atom,targeter21/atom,hpham04/atom,kdheepak89/atom,stuartquin/atom,Jandersoft/atom,Klozz/atom,execjosh/atom,yomybaby/atom,kc8wxm/atom,RobinTec/atom,ashneo76/atom,GHackAnonymous/atom,beni55/atom,Shekharrajak/atom,avdg/atom,MjAbuz/atom,bencolon/atom,MjAbuz/atom,fedorov/atom,kittens/atom,n-riesco/atom,sxgao3001/atom,sxgao3001/atom,charleswhchan/atom,NunoEdgarGub1/atom,PKRoma/atom,YunchengLiao/atom,harshdattani/atom,darwin/atom,harshdattani/atom,nrodriguez13/atom,rjattrill/atom,rsvip/aTom,kaicataldo/atom,sebmck/atom,devmario/atom,hellendag/atom,toqz/atom,johnrizzo1/atom,stuartquin/atom,atom/atom,fang-yufeng/atom,Hasimir/atom,ivoadf/atom,yangchenghu/atom,rmartin/atom,devoncarew/atom,MjAbuz/atom,einarmagnus/atom,sekcheong/atom,john-kelly/atom,jjz/atom,dkfiresky/atom,nvoron23/atom,kevinrenaers/atom,mertkahyaoglu/atom,splodingsocks/atom,brumm/atom,yomybaby/atom,isghe/atom,jjz/atom,liuxiong332/atom,matthewclendening/atom,Abdillah/atom,ralphtheninja/atom,Mokolea/atom,SlimeQ/atom,dannyflax/atom,tony612/atom,beni55/atom,Hasimir/atom,Ju2ender/atom,davideg/atom,Jandersoft/atom,NunoEdgarGub1/atom,mostafaeweda/atom,me6iaton/atom,Abdillah/atom,lovesnow/atom,me6iaton/atom,xream/atom,devmario/atom,ralphtheninja/atom,ardeshirj/atom,ObviouslyGreen/atom,atom/atom,lisonma/atom,sekcheong/atom,oggy/atom,fang-yufeng/atom,vinodpanicker/atom,Jandersolutions/atom,dsandstrom/atom,erikhakansson/atom,tisu2tisu/atom,n-riesco/atom,AdrianVovk/substance-ide,transcranial/atom,charleswhchan/atom,FoldingText/atom,mnquintana/atom,batjko/atom,kittens/atom,helber/atom,kevinrenaers/atom,lisonma/atom,fredericksilva/atom,bradgearon/atom,devmario/atom,prembasumatary/atom,medovob/atom,kdheepak89/atom,hagb4rd/atom,Rodjana/atom,yalexx/atom,lpommers/atom,KENJU/atom,oggy/atom,toqz/atom,kandros/atom,niklabh/atom,DiogoXRP/atom,jacekkopecky/atom,bj7/atom,rookie125/atom,Locke23rus/atom,pkdevbox/atom,bsmr-x-script/atom,vhutheesing/atom,dannyflax/atom,Jandersolutions/atom,helber/atom,h0dgep0dge/atom,burodepeper/atom,fredericksilva/atom,me6iaton/atom,mertkahyaoglu/atom,abe33/atom,paulcbetts/atom,gisenberg/atom,Andrey-Pavlov/atom,Jandersolutions/atom,ali/atom,johnhaley81/atom,batjko/atom,cyzn/atom,pkdevbox/atom,kc8wxm/atom,ReddTea/atom,kdheepak89/atom,jeremyramin/atom,russlescai/atom,qiujuer/atom,Ingramz/atom,folpindo/atom,brumm/atom,splodingsocks/atom,sotayamashita/atom,fedorov/atom,qskycolor/atom,rookie125/atom,FIT-CSE2410-A-Bombs/atom,palita01/atom,liuderchi/atom,champagnez/atom,SlimeQ/atom,KENJU/atom,AdrianVovk/substance-ide,elkingtonmcb/atom,Ju2ender/atom,yalexx/atom,sekcheong/atom,chengky/atom,ezeoleaf/atom,AlbertoBarrago/atom,amine7536/atom,ironbox360/atom,vinodpanicker/atom,paulcbetts/atom,abcP9110/atom,bj7/atom,execjosh/atom,chfritz/atom,fredericksilva/atom,boomwaiza/atom,abe33/atom,tmunro/atom,BogusCurry/atom,daxlab/atom,abcP9110/atom,ppamorim/atom,hagb4rd/atom,einarmagnus/atom,g2p/atom,Rychard/atom,niklabh/atom,sillvan/atom,johnhaley81/atom,splodingsocks/atom,nucked/atom,sotayamashita/atom,vjeux/atom,beni55/atom,tjkr/atom,Neron-X5/atom,florianb/atom,abcP9110/atom,constanzaurzua/atom,decaffeinate-examples/atom,crazyquark/atom,isghe/atom,ReddTea/atom,john-kelly/atom,johnrizzo1/atom,dijs/atom,jjz/atom,constanzaurzua/atom,mnquintana/atom,rsvip/aTom,dsandstrom/atom,efatsi/atom,mertkahyaoglu/atom,fredericksilva/atom,folpindo/atom,deepfox/atom,me6iaton/atom,gisenberg/atom,prembasumatary/atom,vcarrera/atom,seedtigo/atom,Austen-G/BlockBuilder,constanzaurzua/atom,john-kelly/atom,chengky/atom,fedorov/atom,kaicataldo/atom,qiujuer/atom,fredericksilva/atom,RuiDGoncalves/atom,FIT-CSE2410-A-Bombs/atom,rlugojr/atom,Neron-X5/atom,pombredanne/atom,tisu2tisu/atom,Galactix/atom,oggy/atom,Ingramz/atom,ykeisuke/atom,ilovezy/atom,devoncarew/atom,kandros/atom,boomwaiza/atom,rjattrill/atom,Locke23rus/atom,SlimeQ/atom,Dennis1978/atom,SlimeQ/atom,qskycolor/atom,erikhakansson/atom,kjav/atom,avdg/atom,devmario/atom,yalexx/atom,vhutheesing/atom,ivoadf/atom,mdumrauf/atom,Rychard/atom,bcoe/atom,darwin/atom,decaffeinate-examples/atom,Galactix/atom,DiogoXRP/atom,qiujuer/atom,decaffeinate-examples/atom,amine7536/atom,scv119/atom,basarat/atom,einarmagnus/atom,daxlab/atom,daxlab/atom,yomybaby/atom,ReddTea/atom,Dennis1978/atom,Jonekee/atom,h0dgep0dge/atom,nrodriguez13/atom,ilovezy/atom,bcoe/atom,GHackAnonymous/atom,gabrielPeart/atom,FoldingText/atom,githubteacher/atom,harshdattani/atom,devoncarew/atom,john-kelly/atom,omarhuanca/atom,stuartquin/atom,florianb/atom,sekcheong/atom,scippio/atom,Ju2ender/atom,crazyquark/atom,dannyflax/atom,mertkahyaoglu/atom,jordanbtucker/atom,AlexxNica/atom,gzzhanghao/atom,n-riesco/atom,svanharmelen/atom,ali/atom,deoxilix/atom,wiggzz/atom,YunchengLiao/atom,pengshp/atom,hharchani/atom,omarhuanca/atom,tmunro/atom,fedorov/atom,abcP9110/atom,me-benni/atom,splodingsocks/atom,deoxilix/atom,AlisaKiatkongkumthon/atom,batjko/atom,ReddTea/atom,hharchani/atom,stinsonga/atom,tjkr/atom,constanzaurzua/atom,dannyflax/atom,xream/atom,alfredxing/atom,YunchengLiao/atom,hagb4rd/atom,rjattrill/atom,sillvan/atom,tony612/atom,githubteacher/atom,vinodpanicker/atom,ralphtheninja/atom,pombredanne/atom,tanin47/atom,h0dgep0dge/atom,paulcbetts/atom,prembasumatary/atom,jlord/atom,acontreras89/atom,qskycolor/atom,jlord/atom,medovob/atom,bolinfest/atom,rsvip/aTom,0x73/atom,codex8/atom,devoncarew/atom,prembasumatary/atom,paulcbetts/atom,Jdesk/atom,n-riesco/atom,RobinTec/atom,crazyquark/atom,0x73/atom,originye/atom,Ingramz/atom,basarat/atom,pkdevbox/atom,oggy/atom,scippio/atom,lisonma/atom,alexandergmann/atom,panuchart/atom,sotayamashita/atom,jordanbtucker/atom,Shekharrajak/atom