Skip to content
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

Windows - Incorrect executable command if username has a space. #2

Open
domn1995 opened this issue Feb 12, 2018 · 0 comments
Open

Windows - Incorrect executable command if username has a space. #2

domn1995 opened this issue Feb 12, 2018 · 0 comments
Labels

Comments

@domn1995
Copy link

domn1995 commented Feb 12, 2018

PS C:\Users\User Name> (new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/tonerdo/dotget/mas
ter/scripts/install.ps1") | iex


Directory: C:\Users\USERNA~1\Temp


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----        2/12/2018     14:01                dotget
Downloading latest version (v1.0.0)
dotGet was installed successfully!


PS C:\Users\User Name> dotnet get --help
No executable found matching command "dotnet-C:\Users\User"
PS C:\Users\User Name>

I can confirm that it is installing correctly by looking in the installation directory.

The user PATH variable also looks correct:

C:\Users\User Name\.dotget\bin

This seems to be an issue with the executable itself, where a space in the username is not being accounted for.

@tonerdo tonerdo added the bug label Feb 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants