set pid_=-1 after wait, actually implement pid()
authorTudor Bosman <tudorb@fb.com>
Wed, 16 Jan 2013 22:52:04 +0000 (14:52 -0800)
committerJordan DeLong <jdelong@fb.com>
Sat, 19 Jan 2013 00:38:16 +0000 (16:38 -0800)
commit36a716b7b1eb8879364d53cdf9d01346e8e493fe
treec796939147a4dd9318e273376a710da84b5620c5
parentdc6cfb04ebf1ab5917cef0136f9fb342dfc421fd
set pid_=-1 after wait, actually implement pid()

Summary: minor issues in folly::Subprocess

Test Plan: subprocess_test

Reviewed By: philipp@fb.com

FB internal diff: D680959
folly/Subprocess.cpp