diff --git a/src/google/adk/cli/cli_deploy.py b/src/google/adk/cli/cli_deploy.py index 1bf1d76c7a..c21eeb6eff 100644 --- a/src/google/adk/cli/cli_deploy.py +++ b/src/google/adk/cli/cli_deploy.py @@ -626,7 +626,7 @@ def to_cloud_run( # Add any remaining extra passthrough args gcloud_cmd.extend(extra_args_without_labels) - subprocess.run(gcloud_cmd, check=True) + subprocess.run(gcloud_cmd, check=True, shell=os.name == 'nt') finally: click.echo(f'Cleaning up the temp folder: {temp_folder}') shutil.rmtree(temp_folder)