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 /d to all cmd invocations to avoid autoruns. #1201

Merged
merged 3 commits into from
Sep 21, 2023

Conversation

BillyONeal
Copy link
Member

@BillyONeal BillyONeal commented Sep 18, 2023

This broke a Microsoft internal customer.

@dg0yt
Copy link
Contributor

dg0yt commented Sep 18, 2023

Fixes microsoft/vcpkg#8268.

@Neumann-A
Copy link
Contributor

I bet somebody depends on this behavior to not need to create a triplet/toolchain since it can be used to inject build flags via env variables.

Copy link
Member

@dfederm dfederm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed this fixes my issue.

Comparing current released version vs private version you sent me:

image

Copy link
Contributor

@data-queue data-queue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

}

auto& rc_output = maybe_rc_output.value_or_exit(VCPKG_LINE_INFO);
if (rc_output.exit_code != 0)
{
Debug::println("Output:");
Debug::println(rc_output.output);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be cleaner if we move printing the debug output before the if statement, since we print in both cases (see line 1305).

@BillyONeal BillyONeal merged commit 9821aaf into microsoft:main Sep 21, 2023
5 checks passed
@BillyONeal BillyONeal deleted the add-dash-d branch January 29, 2024 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants