INNER CODE UNIT · Python

main

fluxerapp/flutter_client · tool/run_widget_preview_patched.py:90

def main() -> int:
    argv = sys.argv[1:]
    if argv and argv[0] == "--":
        argv = argv[1:]
    repo = _repo_root()
    cmd = ["flutter", "widget-preview", "start", *argv]
    process = subprocess.Popen(
        cmd,
        cwd=repo,
        stdout=subprocess.PIPE,
        stderr=subprocess.STDOUT,
        text=True,
        bufsize=1,
        env=os.environ.copy(),
    )
    assert process.stdout is not None
    try:
        for line in process.stdout:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…