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.
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
Update shell detection #3466
Update shell detection #3466
Changes from all commits
a541ffa
1807cee
958ba7f
2a9fbc2
14e274f
27932e1
e4f6e33
3f56d39
84ba928
05ff825
efe42e9
46e9a00
198b05a
9882ea8
d1a9f8a
976c6fc
0f6e7d5
408e7dd
73fec74
471f509
8d8234f
77c970f
b0886ea
8af3168
e2df1a7
53f8d17
e6eeb7b
b6ddb92
7907c12
723b520
c97aadb
4cf5cda
f00d77c
e532c53
df47edd
4f23d47
7cb0820
396fe68
f57b755
bc1e2ec
a7ac5d8
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure this works? IIRC the backtick is an escape on powershell.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You were right, I was running into a failure with this because it was defaulting back to
cmd.exe
and not powershell.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never mind, I was right. Here's the output on powershell
And the expect
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My guess is it depends on which shell you started from. So your new tests may want this variant but older tests will want the escaping? Worth perhaps looking for other places where we run ExpectInput and running those tests on Windows before merging your PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of the integration tests that start powershell are also critical. Only one of them expects input which is the one that flagged this change.