Add Windows support#68
Conversation
Add Microsoft Windows support
Use cmdproxy to better deal with Windows
|
sorry, this escaped my attention. according to this: https://emacs.stackexchange.com/questions/41891/differences-between-cmdproxy-exe-and-cmd-exe
so perhaps a single |
|
First, Second, the main problem is not about |
yep, good idea! |
|
thanks! 🚀 |
|
@zyxir I'm using msys in windows. So this repo works OK just before this commit. After update this commit, I cant specify to test a single file. Have you met this problem. python -m pytest 'tests/test_util.py'
# Got ERROR:
# ERROR: file or directory not found: 'tests/test_util.py'It's OK by using "sh" command. |
|
I finally found the problem. It's because the test file name should not be wraped with '' in Windows. This command works: python -m pytest tests/test_util.py |
|
@lld2001 Good point. My Emacs was also installed in MSYS2, but I usually launched Emacs on Windows, so it had no access to |
On Windows there is no "sh -c" available, so run "cmd /c" instead.