Open marconn opened 9 years ago
Windows support is not great at this point. It is something I hope to improve in the future, however it's not something I have time to work on at this time. If you're feeling up to it however, I'd be happy to review a pull request!
It mostly works for me. However, I can't select/copy text, and I can't get environment variables. If I type out, for example, echo %TIME%, it should output the current time:
Theoretically, it should be possible to open a command prompt (or a powershell) with the window hidden, and redirect the input/output to another program (in this case, atom). I have no idea how to go about actually doing this, however it should make things simpler once it's implemented, as it wouldn't require any other work. MS provides info for doing it here. As for mac/linux/etc, I believe you can do the same thing with a bash (or other shell) there.
The good news is I know what's causing this. The bad news is I won't have any time to work on it for a week or two. As a work around for now, you can use UNIX like variables. So for example, echo $time
should work just fine.
As an update for everyone, Windows support is now much better. However this issue is going to remain open for the time being because the parsing is still not correct and will require more time than I have right now. As far as file redirection is concerned, that's an other issue entirely which I will certainly get to when I can. For now though, quantum-shell should be 90% usable on any Windows system!
Would it be possible to use git bash or another bash emulator on windows instead of cmd?
Thanks!
Hi
I tried this package in Linux and everything works as expected. Good job I am wondering if it works on windows
When trying to execute a command it says:
Error: spawn cmd.exe ENOENT