I'm using this and have no problems: miner --server europe.equihash-hub.miningpoolhub.com --user username.workername --pass password --pec --port 20575
Also i discovered with brute force that when ewbf closes instantly is that something is wrong at the config, maybe a dash or something seems ok and it isn't. Try copypasting this one just to try it, or copypaste the one from the help and if it isn't that...then you should look at file rights and stuff I think.
BTW: --pec is to show the efficiency info, nothing important