title: Bash Script Run via Maven Does Not Promt for Input Properly
body: <p>I have a bash script in which I am cloning a total of 5 repositories from a private server. I don't want the user to enter his credentials again and again, hence I prompt for them once and then reuse them.</p>
  
  <p>This is my code for credentials promt</p>
  
  <pre><code>read -p "Enter Username: " username 
  echo -n "Enter Password: "
  read -s password
  </code></pre>
  
  <p>However when this piece of code is run via maven, it does not display the prompt messages such as <code>Enter Username</code> and does not even accept the <code>-s silent input</code> flag.
  If run without maven, this script runs fine.</p>
  
  <p>The catch is that if I use the <code>read</code> command without any flags or string prompts, it runs fine, which makes me think that maven might not be either recognizing or accepting these flags.</p>
  
  <p>Has anyone else come across this?
  I have tried using the <code>interactive</code> mode in maven as well, same results.</p>