Seac support for Windows
Adds endchar with 4 arguments test.
Merge pull request #2818 from yurydelendik/seac

Seac support for Windows