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

Bug: Windows ddk deploy Issue #180

Merged
merged 19 commits into from
Nov 1, 2022

Conversation

malachi-constant
Copy link
Contributor

@malachi-constant malachi-constant commented Oct 27, 2022

Relates

Details

  • Windows as opposed to POSIX is not able to find cdk within a subprocess.Popen, but is able to find cdk.CMD.
  • Windows does not appear to work with text=False in subprocess.Popen for this use case and errors with this error. By setting stdout to text not bytes we seem to be able to avoid this issue in the case of a Windows OS.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@malachi-constant malachi-constant linked an issue Oct 27, 2022 that may be closed by this pull request
@malachi-constant malachi-constant marked this pull request as draft October 27, 2022 20:36
@malachi-constant malachi-constant changed the title Bug: Windows ddk deploy Issue [skip-ci] Bug: Windows ddk deploy Issue Oct 28, 2022
@malachi-constant malachi-constant changed the title [skip-ci] Bug: Windows ddk deploy Issue Bug: Windows ddk deploy Issue Oct 28, 2022
@malachi-constant malachi-constant marked this pull request as ready for review October 28, 2022 17:25
@malachi-constant malachi-constant added bug Something isn't working cli labels Oct 28, 2022
@malachi-constant malachi-constant self-assigned this Oct 28, 2022
Copy link
Contributor

@kukushking kukushking left a comment

Choose a reason for hiding this comment

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

Thanks!

@malachi-constant malachi-constant merged commit fc29e7c into main Nov 1, 2022
@malachi-constant malachi-constant deleted the 178-bug-ddk-deploy-fails-on-windows-11-pro branch November 1, 2022 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(bug) ddk deploy fails on windows 11 pro
4 participants