diff --git a/src/google/adk/cli/cli_deploy.py b/src/google/adk/cli/cli_deploy.py index 335c786b9f..ddc6291c91 100644 --- a/src/google/adk/cli/cli_deploy.py +++ b/src/google/adk/cli/cli_deploy.py @@ -618,7 +618,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)