fix: preserve PowerShell session during install - #3
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
변경 내용
irm https://install.ctxa.ai/install.ps1 | iex실행 시 설치 스크립트의exit 0/1이 호출 PowerShell 전체를 종료하던 동작을 제거했습니다.IEX이후 동일 세션 명령 실행 판정을 추가했습니다.원인
기존 테스트는 설치 파일을 별도
powershell.exe -File프로세스로만 실행했습니다. 따라서exit가 그 프로세스를 끝내는 것을 정상 종료로 오판했고, 실제 문서 명령인irm ... | iex에서 사용자의 현재 PowerShell 창까지 종료하는 결함을 포착하지 못했습니다.검증
-File한국어 오류 코드 계약: 통과