Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to redirect stdout and stdcerr to a file for xcrun compatibility #1963

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Feb 13, 2024

  1. Add option to redirect stdout and stdcerr to a file for xcrun compati…

    …bility
    
    Summary:
    XCRun doesn't provide a convenient way to gather logs or know when a program has completed execution. (This is recognized by the dev community: see ios-control/ios-deploy#588 )
    
    We'll solve this by redirecting `stdout` and `stderr` to a file called `/tmp/BENCH_LOG`. Once the benchmark is complete, we'll create an empty file called `/tmp/BENCH_DONE` that we can poll for (let's say, every 5 seconds) to check whether the benchmark has completed.
    
    Reviewed By: Jack-Khuu
    
    Differential Revision: D53255873
    Varun Puri authored and facebook-github-bot committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    62553ae View commit details
    Browse the repository at this point in the history