Simplify pipe2 / O_CLOEXEC handling in Subprocess.cpp
authorTudor Bosman <tudorb@fb.com>
Tue, 8 Jul 2014 00:29:32 +0000 (17:29 -0700)
committerTudor Bosman <tudorb@fb.com>
Wed, 9 Jul 2014 20:52:17 +0000 (13:52 -0700)
commitfca9fccb9676d9ac2d9b5c79dca8bd5ae42ad740
tree71176c69e01cf04ae1a80197fb14738f2fbaa4d4
parent2c378ec80fa59964ec7c143ec2a9b53fc6a1fd15
Simplify pipe2 / O_CLOEXEC handling in Subprocess.cpp

Summary: per @rockyliu's suggestions

Test Plan: subprocess_test

Reviewed By: rockyliu4@fb.com

Subscribers: rockyliu, jhj, lesha, kma

FB internal diff: D1423157
folly/Subprocess.cpp