title: How to pass arguments to a bash script running under MinGW on Windows
body: <p>I have a bash script which takes two arguments . </p>
  
  <p>On OS X I can invoke the script as follows:</p>
  
  <pre><code>./my-script arg1 arg2
  </code></pre>
  
  <p>and both arguments are passed to the script.</p>
  
  <p>I have MinGW installed on Windows and when I invoke the script as follows:</p>
  
  <pre><code>my-script arg1 arg2
  </code></pre>
  
  <p>the arguments are not passed to the script.</p>
  
  <p>However if I invoke it as follows:</p>
  
  <pre><code>bash my-script arg1 arg2
  </code></pre>
  
  <p>the arguments are passed to the script. </p>
  
  <p>Is there is another way to pass the arguments without having to do this?</p>