The parameters are not executed correctly #17587

Closed
opened 2026-01-31 05:46:45 +00:00 by claunia · 3 comments
Owner

Originally created by @jackyking-cn on GitHub (May 27, 2022).

Windows Terminal version

1.13.10983.0

Windows build number

10.0.19042.0

Other Software

node v16.14.0
npm 8.3.1

Steps to reproduce

run command:
npm config set @scope:registry https://npmmirror.com/

Expected Behavior

image

Actual Behavior

image

Originally created by @jackyking-cn on GitHub (May 27, 2022). ### Windows Terminal version 1.13.10983.0 ### Windows build number 10.0.19042.0 ### Other Software node v16.14.0 npm 8.3.1 ### Steps to reproduce run command: npm config set @scope:registry https://npmmirror.com/ ### Expected Behavior ![image](https://user-images.githubusercontent.com/1309499/170659837-665c8758-e5f2-4170-bc57-ac83d4a50ac2.png) ### Actual Behavior ![image](https://user-images.githubusercontent.com/1309499/170659774-4a4ef0bc-5287-415e-8d8c-12855619e869.png)
Author
Owner

@zadjii-msft commented on GitHub (May 27, 2022):

What happens if you run that command in a "Command Prompt" tab in the Terminal/?

I'm guessing that because @ is a special character in PowerShell, the command is being parsed differently by PowerShell than it is in Command Prompt.

@zadjii-msft commented on GitHub (May 27, 2022): What happens if you run that command in a "Command Prompt" tab in the Terminal/? I'm guessing that because `@` is a special character in PowerShell, the command is being parsed differently by PowerShell than it is in Command Prompt.
Author
Owner

@jackyking-cn commented on GitHub (May 30, 2022):

It's right in cmd, so it's bug of PowerShell?

image

What happens if you run that command in a "Command Prompt" tab in the Terminal/?

I'm guessing that because is a special character in PowerShell, the command is being parsed differently by PowerShell than it is in Command Prompt.@

@jackyking-cn commented on GitHub (May 30, 2022): It's right in cmd, so it's bug of PowerShell? ![image](https://user-images.githubusercontent.com/1309499/170947707-f45904b2-8853-462c-adcd-d84426d823cd.png) > What happens if you run that command in a "Command Prompt" tab in the Terminal/? > > I'm guessing that because is a special character in PowerShell, the command is being parsed differently by PowerShell than it is in Command Prompt.`@`
Author
Owner

@zadjii-msft commented on GitHub (May 31, 2022):

Yep. You should continue this discussion over at https://github.com/powershell/powershell

@zadjii-msft commented on GitHub (May 31, 2022): Yep. You should continue this discussion over at https://github.com/powershell/powershell
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17587