hoosierhobbyist / quantum-shell

An experimental terminal emulator for the Atom text editor
MIT License
19 stars 6 forks source link

Is it working on windows? #16

Open marconn opened 9 years ago

marconn commented 9 years ago

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

hoosierhobbyist commented 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!

Efreak commented 9 years ago

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:

`echo %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.

hoosierhobbyist commented 9 years ago

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.

hoosierhobbyist commented 9 years ago

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!

thedreadpirate commented 8 years ago

Would it be possible to use git bash or another bash emulator on windows instead of cmd?

Thanks!