Git clone through process builder in java

Viewed 428

I want to run the following command through process builder in java:

Git clone --depth 1 <url>

The requirement is to interact with command prompt to fill the username and password when asked. When i hit this command through cmd, it asks for username and password But when I do the same thing through process builder in java, instead of asking for username and password it gives the following error:

Bash: dev/tty no such command or device 
Error: couldn't get username ..

And the code exits. Note: providing username and password in the url itself is not desirable. Also using window credentials msnager popup is not desirable and has been set to false.

0 Answers
Related