edit('editor','"C:/Program Files/Good Editor/Editor.exe" "$(cygpath
-wa $s)"')
Can somebody with a windows box confirm that the quotes are needed?
Yes, double quotes are needed. I'm currently running 2.1.50, and the
command above starts the correct editor, but it doesn't find the file.
There is an error message from cygpath, and it seems $s is not evaluated.
>> edit('editor','"C:/Program Files/Good Editor/Editor.exe" "$(cygpath
-wa $s)"')
>> edit foo.m
Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-c HANDLE] [-f FILE] [options] NAME
cygpath [-ADHPSW]