Initial support for setup and interactive commands, using powershell in Windows #10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
I got O2 working in Windows. There were some problems, but I think I've at least the basics worked out. With the updates here, and the few additional steps added to the README, I can get the
setup
andinteractive
commands to work.I think there's still some improvements to make here but this should at get some Windows-side developments going and, given the volatile nature of this project being very early in development, I don't really want to sit on these changes while I continue to learn Rust and risk having merging nightmares later on.
I don't have WSL installed yet, but I'll be doing that pretty soon here and I can start running O2 on both systems. I don't think anything I changed should have affected Linux.
I can give some more details if needed, but most changes boil down to syntax differences between Linux and Windows, and then how Rust handles system commands, which IMO, is really user-unfriendly since no other languages I'm aware of calls commands in that way. Not even C++ or Java.
Thanks!