escape `{` in cmd for deprecated `Substring(std::string...)`
authorDominik Gabi <dominik@fb.com>
Fri, 16 Sep 2016 22:00:43 +0000 (15:00 -0700)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Fri, 16 Sep 2016 22:08:33 +0000 (15:08 -0700)
commitd9749c81897ace66bbce2d428cca7118c0f53cd0
treeb16171f25275291451721b78e087deb3d0f82637
parent42ca5613a7c6e5d03523fb57f0ce718feb03dc26
escape `{` in cmd for deprecated `Substring(std::string...)`

Summary:
Since `shellify` interprets the command as a format string we need to escape
`{` and `}`.

Reviewed By: ldemailly, simpkins

Differential Revision: D3874605

fbshipit-source-id: f47db387c3a44a3ba1c0c1d4726b7212fcb5ef3e
folly/Subprocess.cpp