Always using .bat files in Conan subprocess, not .ps1#19649
Draft
memsharded wants to merge 9 commits into
Draft
Conversation
AbrilRBS
approved these changes
Apr 7, 2026
AbrilRBS
left a comment
Member
There was a problem hiding this comment.
approving dropping the boolean value support
memsharded
commented
May 26, 2026
| self.run('cd "hello world"') | ||
| self.run("set MYVC_CUSTOMVAR1") | ||
| self.run("set MYVC_CUSTOMVAR2") | ||
| self.run("set MYVC_CUSTOMVAR2", env=["conanbuild.ps1"]) |
Member
Author
There was a problem hiding this comment.
This is something that could be considered breaking, because if the recipe hardcodes somewhere that is adding some .ps1, then it becomes necessary to explicitly tell the recipe to use that .ps1, because by default now we made to use the conanbuild.bat always.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog: Fix: Remove support for
tools.env.virtualenv:powershell=True/False, deprecated more than 1 year agoChangelog: Fix: Use always
.batfiles for Conan subprocesses (self.run()), instead of.ps1, that are only necessary for users running natively in powershell for local development.Docs: https://github.com/conan-io/docs/pull/XXXX
Close #11353
developbranch, documenting this one.