Remove copy-pasta in ProcessExecutor.waitForLaunchedProcessWithTimeout
Remove copy-pasta in ProcessExecutor.waitForLaunchedProcessWithTimeout

Summary: The code is identical

Test Plan: unit tests

Reviewed By: beefon

fbshipit-source-id: da0d415

OkBuilds/buck,SeleniumHQ/buck,kageiit/buck,justinmuller/buck,shs96c/buck,illicitonion/buck,Addepar/buck,ilya-klyuchnikov/buck,ilya-klyuchnikov/buck,vschs007/buck,robbertvanginkel/buck,clonetwin26/buck,clonetwin26/buck,shybovycha/buck,OkBuilds/buck,grumpyjames/buck,robbertvanginkel/buck,brettwooldridge/buck,LegNeato/buck,romanoid/buck,raviagarwal7/buck,zhan-xiong/buck,daedric/buck,JoelMarcey/buck,shybovycha/buck,zhan-xiong/buck,romanoid/buck,daedric/buck,zhan-xiong/buck,daedric/buck,ilya-klyuchnikov/buck,OkBuilds/buck,justinmuller/buck,darkforestzero/buck,vschs007/buck,dsyang/buck,clonetwin26/buck,grumpyjames/buck,raviagarwal7/buck,SeleniumHQ/buck,illicitonion/buck,dsyang/buck,shs96c/buck,zpao/buck,JoelMarcey/buck,Addepar/buck,shs96c/buck,rmaz/buck,k21/buck,shybovycha/buck,dsyang/buck,shs96c/buck,daedric/buck,vschs007/buck,ilya-klyuchnikov/buck,kageiit/buck,justinmuller/buck,rmaz/buck,SeleniumHQ/buck,JoelMarcey/buck,k21/buck,darkforestzero/buck,shs96c/buck,facebook/buck,Addepar/buck,marcinkwiatkowski/buck,raviagarwal7/buck,rmaz/buck,JoelMarcey/buck,dsyang/buck,justinmuller/buck,robbertvanginkel/buck,illicitonion/buck,facebook/buck,vschs007/buck,OkBuilds/buck,kageiit/buck,facebook/buck,OkBuilds/buck,LegNeato/buck,dsyang/buck,shs96c/buck,zhan-xiong/buck,dsyang/buck,LegNeato/buck,justinmuller/buck,JoelMarcey/buck,vschs007/buck,sdwilsh/buck,rmaz/buck,raviagarwal7/buck,SeleniumHQ/buck,Addepar/buck,zhan-xiong/buck,LegNeato/buck,sdwilsh/buck,vschs007/buck,justinmuller/buck,k21/buck,justinmuller/buck,illicitonion/buck,SeleniumHQ/buck,davido/buck,daedric/buck,shs96c/buck,shs96c/buck,marcinkwiatkowski/buck,darkforestzero/buck,daedric/buck,romanoid/buck,sdwilsh/buck,clonetwin26/buck,OkBuilds/buck,brettwooldridge/buck,robbertvanginkel/buck,sdwilsh/buck,rmaz/buck,darkforestzero/buck,shybovycha/buck,daedric/buck,davido/buck,romanoid/buck,grumpyjames/buck,clonetwin26/buck,robbertvanginkel/buck,OkBuilds/buck,ilya-klyuchnikov/buck,k21/buck,raviagarwal7/buck,marcinkwiatkowski/buck,brettwooldridge/buck,robbertvanginkel/buck,illicitonion/buck,LegNeato/buck,Addepar/buck,LegNeato/buck,SeleniumHQ/buck,ilya-klyuchnikov/buck,Addepar/buck,justinmuller/buck,OkBuilds/buck,brettwooldridge/buck,marcinkwiatkowski/buck,facebook/buck,dsyang/buck,LegNeato/buck,k21/buck,rmaz/buck,daedric/buck,grumpyjames/buck,daedric/buck,raviagarwal7/buck,OkBuilds/buck,rmaz/buck,romanoid/buck,justinmuller/buck,davido/buck,brettwooldridge/buck,zhan-xiong/buck,zpao/buck,davido/buck,dsyang/buck,rmaz/buck,darkforestzero/buck,romanoid/buck,sdwilsh/buck,darkforestzero/buck,davido/buck,clonetwin26/buck,vschs007/buck,justinmuller/buck,brettwooldridge/buck,grumpyjames/buck,brettwooldridge/buck,marcinkwiatkowski/buck,shybovycha/buck,shybovycha/buck,shybovycha/buck,zhan-xiong/buck,JoelMarcey/buck,justinmuller/buck,JoelMarcey/buck,Addepar/buck,Addepar/buck,nguyentruongtho/buck,brettwooldridge/buck,davido/buck,clonetwin26/buck,romanoid/buck,JoelMarcey/buck,ilya-klyuchnikov/buck,zhan-xiong/buck,sdwilsh/buck,grumpyjames/buck,dsyang/buck,Addepar/buck,marcinkwiatkowski/buck,kageiit/buck,JoelMarcey/buck,vschs007/buck,raviagarwal7/buck,illicitonion/buck,marcinkwiatkowski/buck,marcinkwiatkowski/buck,sdwilsh/buck,clonetwin26/buck,vschs007/buck,shybovycha/buck,clonetwin26/buck,daedric/buck,brettwooldridge/buck,vschs007/buck,vschs007/buck,Addepar/buck,k21/buck,darkforestzero/buck,darkforestzero/buck,k21/buck,facebook/buck,davido/buck,illicitonion/buck,brettwooldridge/buck,daedric/buck,brettwooldridge/buck,SeleniumHQ/buck,LegNeato/buck,davido/buck,nguyentruongtho/buck,raviagarwal7/buck,davido/buck,marcinkwiatkowski/buck,JoelMarcey/buck,marcinkwiatkowski/buck,sdwilsh/buck,sdwilsh/buck,illicitonion/buck,shybovycha/buck,davido/buck,daedric/buck,Addepar/buck,kageiit/buck,darkforestzero/buck,zpao/buck,zpao/buck,JoelMarcey/buck,dsyang/buck,vschs007/buck,facebook/buck,SeleniumHQ/buck,shybovycha/buck,vschs007/buck,k21/buck,LegNeato/buck,SeleniumHQ/buck,shybovycha/buck,Addepar/buck,dsyang/buck,facebook/buck,romanoid/buck,darkforestzero/buck,clonetwin26/buck,dsyang/buck,robbertvanginkel/buck,clonetwin26/buck,clonetwin26/buck,kageiit/buck,sdwilsh/buck,romanoid/buck,marcinkwiatkowski/buck,darkforestzero/buck,davido/buck,raviagarwal7/buck,k21/buck,rmaz/buck,sdwilsh/buck,davido/buck,darkforestzero/buck,rmaz/buck,sdwilsh/buck,raviagarwal7/buck,nguyentruongtho/buck,illicitonion/buck,daedric/buck,shs96c/buck,kageiit/buck,marcinkwiatkowski/buck,LegNeato/buck,LegNeato/buck,illicitonion/buck,zhan-xiong/buck,grumpyjames/buck,raviagarwal7/buck,k21/buck,robbertvanginkel/buck,k21/buck,zpao/buck,LegNeato/buck,romanoid/buck,brettwooldridge/buck,nguyentruongtho/buck,rmaz/buck,SeleniumHQ/buck,grumpyjames/buck,JoelMarcey/buck,robbertvanginkel/buck,marcinkwiatkowski/buck,shs96c/buck,SeleniumHQ/buck,illicitonion/buck,justinmuller/buck,davido/buck,romanoid/buck,raviagarwal7/buck,shybovycha/buck,ilya-klyuchnikov/buck,SeleniumHQ/buck,justinmuller/buck,grumpyjames/buck,ilya-klyuchnikov/buck,Addepar/buck,nguyentruongtho/buck,raviagarwal7/buck,darkforestzero/buck,SeleniumHQ/buck,grumpyjames/buck,shybovycha/buck,zhan-xiong/buck,zhan-xiong/buck,ilya-klyuchnikov/buck,shs96c/buck,grumpyjames/buck,clonetwin26/buck,ilya-klyuchnikov/buck,robbertvanginkel/buck,zpao/buck,shs96c/buck,ilya-klyuchnikov/buck,OkBuilds/buck,rmaz/buck,shs96c/buck,LegNeato/buck,rmaz/buck,illicitonion/buck,zhan-xiong/buck,OkBuilds/buck,JoelMarcey/buck,robbertvanginkel/buck,zhan-xiong/buck,robbertvanginkel/buck,illicitonion/buck,grumpyjames/buck,robbertvanginkel/buck,OkBuilds/buck,romanoid/buck,k21/buck,dsyang/buck,sdwilsh/buck,romanoid/buck,nguyentruongtho/buck,k21/buck,brettwooldridge/buck,OkBuilds/buck,zpao/buck,ilya-klyuchnikov/buck,nguyentruongtho/buck