• Xavier Deguillard's avatar
    runcmd: do not pipe stdout on a tty · bdf5690a
    Xavier Deguillard authored
    Summary:
    Redirecting stdout means that ninja/cmake won't act as if it's invoked
    interactively, ie: it will buffer the output, show every single files being
    compiled (instead of just a line or progress), etc. This results in a fairly
    janky UX when getdeps is used on the command line. By not redirecting stdout,
    we get immediate feedback about the tests being run, and the files being
    compiled.
    
    Reviewed By: wez
    
    Differential Revision: D22967815
    
    fbshipit-source-id: 872ddbf421065686c384a3a876d0acb8832baf2e
    bdf5690a
runcmd.py 5.21 KB