Sarge works extremely well when running commands through bash in Windows. Unfortunately, I'm not able to run, for example,
>>> import sarge
>>> sarge.run('dir')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Anaconda\envs\new-sarge-env\lib\site-packages\sarge\__init__.py", lin
e 1411, in run
p.run(input=input, async=async)
File "C:\Anaconda\envs\new-sarge-env\lib\site-packages\sarge\__init__.py", lin
e 1040, in run
self.run_node(node, input=input, async=async)
File "C:\Anaconda\envs\new-sarge-env\lib\site-packages\sarge\__init__.py", lin
e 1136, in run_node
result = getattr(self, method)(node, input, async)
File "C:\Anaconda\envs\new-sarge-env\lib\site-packages\sarge\__init__.py", lin
e 1282, in run_command_node
node.cmd.run(input=input, async=async)
File "C:\Anaconda\envs\new-sarge-env\lib\site-packages\sarge\__init__.py", lin
e 632, in run
self.process = p = Popen(self.args, **self.kwargs)
File "C:\Anaconda\envs\new-sarge-env\lib\subprocess.py", line 710, in __init__
errread, errwrite)
File "C:\Anaconda\envs\new-sarge-env\lib\subprocess.py", line 958, in _execute
_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
>>>