Skip to content

The script file with Hg command does not work properly. #3279

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

Closed
Andy-AO opened this issue Apr 6, 2021 · 8 comments
Closed

The script file with Hg command does not work properly. #3279

Andy-AO opened this issue Apr 6, 2021 · 8 comments
Labels
Area-Extension Terminal Issue-Bug A bug to squash. Resolution-Fixed Will close automatically.

Comments

@Andy-AO
Copy link

Andy-AO commented Apr 6, 2021

Issue Description

The script file with Hg command does not work properly.

A script file with the file name hg.ps1 and the content hg -v exists, press Ctrl+F5 to run it.

Expected Behaviour

image

Actual Behaviour

It should finish executing immediately and return a message, but in fact it will be blocked and there is no way to continue running, only to end it manually.

image

Attached Logs

log.zip

System Details

VSCode version: 1.52.1 ea3859d4ba2f3e577a159bc91e3074c5d85c0523 x64

VSCode extensions:

adamerose.better-outline@0.1.0
adamvoss.vscode-languagetool@3.8.0
adamvoss.vscode-languagetool-zh@3.8.0
alireza94.theme-gotham@0.4.0
almenon.arepl@2.0.2
andys8.jest-snippets@1.8.0
betterthantomorrow.calva@2.0.185
borkdude.clj-kondo@2021.3.310
casualjim.theme-desertex@0.0.6
cweijan.vscode-autohotkey-plus@2.6.2
DavidWang.ini-for-vscode@0.0.4
dbaeumer.vscode-eslint@2.1.16
emilast.LogFileHighlighter@2.11.0
Equinusocio.vsc-community-material-theme@1.4.2
Equinusocio.vsc-material-theme@33.2.0
equinusocio.vsc-material-theme-icons@1.2.2
eryouhao.brackets-light-pro@0.4.4
firsttris.vscode-jest-runner@0.4.31
formulahendry.code-runner@0.11.2
Gruntfuggly.auto-snippet@0.0.10
hbenl.vscode-test-explorer@2.19.6
helsmy.autohotkey-debug@0.6.12
Hyzeta.vscode-theme-github-light@7.14.2
IBM.output-colorizer@0.1.2
intellsmi.comment-translate@1.4.2
ionutvmi.reg@1.0.2
jeremyrajan.webpack@2.2.0
loilo.snazzy-light@1.1.7
lonefy.vscode-JS-CSS-HTML-formatter@0.2.3
lostfields.nodejs-repl@0.5.15
luokai.translate@2.1.0
luqimin.tiny-light@0.7.2
mdickin.markdown-shortcuts@0.12.0
mechatroner.rainbow-csv@1.8.1
MS-CEINTL.vscode-language-pack-zh-hans@1.54.2
ms-dotnettools.csharp@1.23.9
ms-python.python@2021.2.633441544
ms-toolsai.jupyter@2021.2.576440691
ms-vscode.cmake-tools@1.6.0
ms-vscode.cpptools@1.2.2
ms-vscode.powershell@2021.2.2
mushan.vscode-paste-image@1.0.4
octref.vetur@0.33.1
oderwat.indent-rainbow@7.5.0
onpaik.save-and-run-reg@0.1.3
rahmanyerli.fresh-light@1.1.0
redhat.java@0.76.0
royaction.color-manager@0.6.2
ryan-wdy.eyes-theme@1.1.8
selfrefactor.niketa-theme@9.22.0
SharzyL.cjk-word-handler@0.1.1
SirTori.indenticator@0.7.0
SolarLiner.linux-themes@1.0.1
telesoho.vscode-markdown-paste-image@0.12.3
thenikso.github-plus-theme@1.2.1
tht13.html-preview-vscode@0.2.5
tomconte.kickassembler@0.0.2
tranhl.find-then-jump@2.0.4
twxs.cmake@0.0.17
TylerLeonhardt.vscode-pester-test-adapter@0.0.23
uloco.theme-bluloco-light@3.3.7
VisualStudioExptTeam.vscodeintellicode@1.2.12
vscjava.vscode-java-debug@0.31.0
vscjava.vscode-java-dependency@0.18.1
vscjava.vscode-java-pack@0.13.0
vscjava.vscode-java-test@0.28.1
vscjava.vscode-maven@0.28.0
vscodevim.vim@1.19.3
WallabyJs.quokka-vscode@1.0.354
XadillaX.viml@1.0.1
yedhrab.yautohotkey@1.1.3
yzhang.markdown-all-in-one@3.4.0
ZacharyJia.quick-chinese-deletion@0.1.2
zero-plusplus.vscode-autohotkey-debug@1.6.9

PSES version: 2.3.0.0

PowerShell version:

Name Value


PSVersion 7.1.3
PSEdition Core
GitCommitId 7.1.3
OS Microsoft Windows 10.0.18363
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

@ghost ghost added the Needs: Triage Maintainer attention needed! label Apr 6, 2021
@Andy-AO
Copy link
Author

Andy-AO commented Apr 6, 2021

Additional:

  1. it works fine in ISE
  2. The problem also occurs when installing a new VSCode using a virtual machine
    • Sometimes it can run successfully, but it takes a long time to return the result, which is obviously also abnormal.
  3. Instead of using the Run(F5) command, use & $ScriptName in PowerShell Integrated Console without any problems.

@SydneyhSmith
Copy link
Collaborator

Thanks @Andy-AO could be related to #2559 , looks like the issue is being hit specifically with the debugger-- we may need to see if we can reproduce this to debug it further

@SydneyhSmith SydneyhSmith added Area-Debugging Issue-Bug A bug to squash. Needs-Repro-Info and removed Needs: Triage Maintainer attention needed! labels Apr 8, 2021
@Andy-AO
Copy link
Author

Andy-AO commented Apr 8, 2021

look forward to your further news.

@ghost ghost added the Needs: Maintainer Attention Maintainer attention needed! label Apr 8, 2021
@SydneyhSmith SydneyhSmith removed the Needs: Maintainer Attention Maintainer attention needed! label Apr 22, 2021
@ghost
Copy link

ghost commented Aug 19, 2021

This issue was closed automatically as repro info was indicated as needed, but there has been no activity in over a week. Please feel free to reopen with any available information!

@ghost ghost closed this as completed Aug 19, 2021
@andyleejordan
Copy link
Member

Sorry about that, the bot got a little eager. Please do test with v2021.8.1-preview that just went up on the marketplace and let me know what the result is!

@andyleejordan
Copy link
Member

andyleejordan commented Apr 12, 2022

@Andy-AO Hi there, we just released v2022.4.0-preview! Could you please try PowerShell Preview for VS Code and verify this is fixed?

@andyleejordan andyleejordan moved this to Todo in Sea Biscuit Apr 12, 2022
@andyleejordan andyleejordan added the Needs: Fix Verification Please verify the fix for us! label Apr 12, 2022
@andyleejordan andyleejordan moved this from Todo to In Progress in Sea Biscuit Apr 12, 2022
@andyleejordan
Copy link
Member

I'm going to assume this was fixed as the root cause was (finally) addressed. Please re-open if not the case!

@andyleejordan andyleejordan added Resolution-Fixed Will close automatically. and removed Needs: Fix Verification Please verify the fix for us! labels Apr 14, 2022
@andyleejordan andyleejordan moved this from In Progress to Done in Sea Biscuit Apr 14, 2022
@ghost ghost closed this as completed Apr 14, 2022
@ghost
Copy link

ghost commented Apr 14, 2022

This issue has been marked as fixed. It has been automatically closed for housekeeping purposes.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Extension Terminal Issue-Bug A bug to squash. Resolution-Fixed Will close automatically.
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants