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

Is it working on windows? #16

Open
marconn opened this issue Jun 24, 2015 · 5 comments
Open

Is it working on windows? #16

marconn opened this issue Jun 24, 2015 · 5 comments

Comments

@marconn
Copy link

marconn commented Jun 24, 2015

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

@sedabull
Copy link
Owner

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
Copy link

Efreak commented Aug 9, 2015

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.

@sedabull
Copy link
Owner

sedabull commented Aug 9, 2015

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.

@sedabull
Copy link
Owner

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
Copy link

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

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants