On Wed, Apr 12, 2017, 11:16 Xi Shen <davidshen84@gmail.com> wrote:
Hi,

Regarding a patch I made early. Ref. title: [PATCH] ob-sql.el: Support sqlcmd and cygwin environment.

I found it does not for Emacs for Windows. More generally, it does not work in minGW or MSYS environments. I think it is because minGW is not a POSIX environment, and applications in minGW can actually talk to Windows system and handle Windows file path directly.

Because there's no official way to identify if Emacs is in minGW environment, I must roll out cygwin environment first, then I test if it is in "windows-nt" environment.

Please review the patch, and let me know if you have any comments/question.


Thanks,
David