mintty cannnot use vimproc
Add exception handling