fixes TypeError error thrown from spawn

and add `--ssh | -s` option

I'm not sure for windows ... blah-blah-blahs, LOL!