deprecate `folly::Subprocess(std::string, ...)`
authorDominik Gabi <dominik@fb.com>
Thu, 15 Sep 2016 14:57:13 +0000 (07:57 -0700)
committerFacebook Github Bot 8 <facebook-github-bot-8-bot@fb.com>
Thu, 15 Sep 2016 15:08:44 +0000 (08:08 -0700)
commit8f27d856f0e5287b54533efe44d0797d5e50bc1e
tree553497b5b7c37a2dc76af69edd441609aad8e1ac
parent3272dfdbe243e0ac02acca1dd82bc391d1da079a
deprecate `folly::Subprocess(std::string, ...)`

Summary:
introducing `Subprocess::shellify` to get around this. Still thinking
about how to make sure people escape arguments passing into that function. I'd
like to have something along the lines of Phabricator's `csprintf` here.

Reviewed By: yfeldblum

Differential Revision: D3857827

fbshipit-source-id: 8afbc9f1c62c62e0fc91782e11b808145b370933
folly/Subprocess.cpp
folly/Subprocess.h
folly/test/SubprocessTest.cpp