mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 16:44:33 +00:00
Fix gcloud auth login output capture swallowing device-code URL
gcloud auth login --no-browser was called via _gcloud_plain which uses capture_output=True, silently swallowing the device-code URL that the user needs to complete authentication. Run it directly with no capture. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2a03bfa395
commit
fabd1a3463
@ -1595,7 +1595,7 @@ def _run_gcp_tui(stdscr, output_path: str, mode: str, provider: str):
|
||||
|
||||
curses.endwin()
|
||||
print("\nRunning: gcloud auth login --no-browser\n")
|
||||
rc, _ = _gcloud_plain("auth", "login", "--no-browser")
|
||||
rc = subprocess.run(["gcloud", "auth", "login", "--no-browser"]).returncode
|
||||
stdscr = curses.initscr()
|
||||
curses.start_color()
|
||||
curses.use_default_colors()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user