Adding some ways of asking for a password, aka SSH support
Fixes #244
SSH_ASKPASS/GIT_ASKPASS will ask for a password if there isn't one. If the command line asks for a password, use a custom UI to ask for it. I haven't tested the custom UI at all because haha I can't get it to trigger, processes that execute with redirected input don't ask for things on the command line. But for windows, at least, SSH_ASKPASS will ask for a password (though it won't cach it apparently).
This also moves reading process output to a thread because if the process asks for input without us noticing, it will hang forever and hang Unity in the process when it wants to kill the domain. This checks if we need to shutdown every second and aborts if needed.
I had to change my environment variable to make SSH askpass working on windows 10
Hi what is the status of using ssh for GitHub for Unity?