std.process - avoid interaction with parent shell

FreeSlave freeslave93 at gmail.com
Mon Jul 20 22:05:40 UTC 2020


On Monday, 20 July 2020 at 20:55:52 UTC, Steven Schveighoffer 
wrote:
>
> I don't want any user interaction. Occasionally, I get a 
> repository that no longer exists (404). Then git comes up and 
> asks for a username/password. I want it to just fail. 
> Apparently git has no option to be non-interactive, it 
> supposedly checks stdin to see if it's a tty, and only errors 
> if it's not.
>
>
> -Steve

Try setting GIT_TERMINAL_PROMPT=0 as an environment variable.


More information about the Digitalmars-d-learn mailing list