c-cpp-compile-run icon indicating copy to clipboard operation
c-cpp-compile-run copied to clipboard

"Wsl detected, running in vscode terminal!" while running in external terminal

Open Hussain-Ali-12 opened this issue 1 year ago • 4 comments

Describe the bug I am encountering this error "Wsl detected, running in vscode terminal!" when running my c++ code in external terminal even though nothing related to WSL is installed either in my VS Code or Windows.

Note: This problem is only occurring in extension version 1.0.53 and onwards

To Reproduce Steps to reproduce the behavior:

  1. Open any program (c++ program in my case)
  2. Press F8 or click on 'Compile & Run' at the bottom left of VS Code's Status Bar
  3. A warning notification with message "Wsl detected, running in vscode terminal!" will appear at the bottom right of VS Code's interface
  4. See error

Expected behavior The program will run in integrated terminal instead of external console

Screenshots error

Environment

  • VSCode Version: 1.86.0
  • OS Version: Windows 11 Home 22H2

Additional context The program is running fine in external console in extension version 1.0.50 and older versions, i am encountering this problem only in recent releases of the extension

Hussain-Ali-12 avatar Feb 04 '24 13:02 Hussain-Ali-12

Can you please try the new version v1.0.57? https://github.com/danielpinto8zz6/c-cpp-compile-run/releases/tag/v1.0.57

danielpinto8zz6 avatar Feb 04 '24 13:02 danielpinto8zz6

I have tried that as well, still got the same error

[image: image.png]

On Sun, Feb 4, 2024 at 6:20 PM Daniel Pinto @.***> wrote:

Can you please try the new version v1.0.57? https://github.com/danielpinto8zz6/c-cpp-compile-run/releases/tag/v1.0.57

— Reply to this email directly, view it on GitHub https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/352#issuecomment-1925747630, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEVY75S2TRNS52DE5XYRTUTYR6DKBAVCNFSM6AAAAABCY3GX3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVG42DONRTGA . You are receiving this because you authored the thread.Message ID: @.***>

Hussain-Ali-12 avatar Feb 04 '24 13:02 Hussain-Ali-12

Ok, I think now it's working, version 1.0.58 https://github.com/danielpinto8zz6/c-cpp-compile-run/releases/tag/v1.0.58

danielpinto8zz6 avatar Feb 04 '24 14:02 danielpinto8zz6

Yes, it is working now... I am grateful for your help.

[image: image.png]

On Sun, Feb 4, 2024 at 7:01 PM Daniel Pinto @.***> wrote:

Ok, I think now it's working, version 1.0.58 https://github.com/danielpinto8zz6/c-cpp-compile-run/releases/tag/v1.0.58

— Reply to this email directly, view it on GitHub https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/352#issuecomment-1925760940, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEVY75VXWUKOCGEONXUD2WDYR6ID7AVCNFSM6AAAAABCY3GX3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVG43DAOJUGA . You are receiving this because you authored the thread.Message ID: @.***>

Hussain-Ali-12 avatar Feb 04 '24 14:02 Hussain-Ali-12