-
Notifications
You must be signed in to change notification settings - Fork 679
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
dnx run command fails when user home directory contains space. #28
Comments
There's already a pull request for the run-in-terminal package that fixes this issue on a lower level: |
Any idea when a fix will be made so it get through to VS Code? Using dnx commands are impossible through VS Code until this is corrected, making VSCode useless for targeting .NET Core on Windows. |
@retk the PR has been merged. |
And what is necessary to get this to actually be in VS Code? |
the |
Omnisharp doesn't ship with |
Yeah, I meant the extension |
Either way... it's not in VS Code :) |
run-in-terminal is in package dependencies
although as @jrieken mentioned there might be another issues too |
Well, then I've opened a new issue on VS Code. If the dependencies have been fixed, then something in Code is broken. |
And it was closed and moved back here. Is anyone going to take this up and make sure it gets to VS Code??? I don't even know where the problem is anymore... VS Code? OmniSharp? run-in-terminal? Everyone is pointing to the other... |
This is the right place for the bug. |
i'll try to reproduce the issue later today with vscode 1.0 and update the issue with details. |
Note that "dnx run" is unlikley to get fixed. We're focused on supporting ASP .NET Core RC2. When that is released, DNX will go away. |
@DustinCampbell : yes, i'm aware of that, although the csharp package 0.3.7 still depends on run-in-terminal package. it might use this dependency for other reasons too. I've managed to reproduce the issue with vscode 1.0. It installs csharp package 0.3.7 as extension into: run-in-terminal package version 0.0.3 is installed as lates version of the dependency (see package.json under dependencies) Although this version has the commited pull request the problem still exists. To fix the issue the following changes are needed:
and it must be recompiled with tsc. Should I open a new issue in run-in-terminal and create a pull request? I'm not sure if this issue must remain open here until a new version is released, or someone should open a new one somewhere else? (for eg the cshap package is affected as well) |
FWIW, I'm planning to fix this by not using run-in-terminal at all. I think it's a bit awkward that a new terminal window is created for this operation. Instead, I'll just launch "dotnet" as a child process and capture the output and display it within VS Code. |
This should be fixed with #238. While the "dnx run" command is no longer relevant, we have removed run-in-terminal so other commands should not exhibit this problem. |
From @retk on February 3, 2016 14:40
Hi!
Unfortunately my home directory contains a space character: 'C:\Users\Ersek Attila'
When I try to run any asp.net core application with the dnx run web command, i get the following error in the command window:
'C:\Users\Ersek' is not recognized as an internal or external command,...
vscode version: 0.10.6
Copied from original issue: microsoft/vscode#2674
The text was updated successfully, but these errors were encountered: