mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-07 07:02:53 +03:00
Add annotations to opensource/fbcode_builder
Reviewed By: shannonzhu Differential Revision: D34332682 fbshipit-source-id: 498c63851f98dd76502a20a9d1589df5b0c4e7b9
This commit is contained in:

committed by
Facebook GitHub Bot
parent
a9b46b7cc6
commit
1f77084c8e
@@ -44,7 +44,7 @@ def _print_env_diff(env, log_fn) -> None:
|
||||
log_fn("+ %s=%s \\\n" % (k, shellquote(env[k])))
|
||||
|
||||
|
||||
def run_cmd(cmd, env=None, cwd=None, allow_fail: bool = False, log_file=None):
|
||||
def run_cmd(cmd, env=None, cwd=None, allow_fail: bool = False, log_file=None) -> int:
|
||||
def log_to_stdout(msg):
|
||||
sys.stdout.buffer.write(msg.encode(errors="surrogateescape"))
|
||||
|
||||
|
Reference in New Issue
Block a user