• Alexey Spiridonov's avatar
    A generic line-reading callback for communicate() · 1f4f3030
    Alexey Spiridonov authored
    Summary: There are a couple of places where this behavior is useful, and it's not 100% trivial to implement it from scratch. Adding it to Folly to save people code & bugs.
    
    Test Plan: unit tests
    
    Reviewed By: tudorb@fb.com
    
    Subscribers: tjackson, folly@lists, tudorb
    
    FB internal diff: D1297506
    1f4f3030
Subprocess.cpp 22.8 KB