title: git-bash.exe: how to run single command?
body: <p>I am using the <a href="https://github.com/git-for-windows/git/releases/download/v2.5.3.windows.1/PortableGit-2.5.3-64-bit.7z.exe" rel="nofollow">portable version of Git for Windows</a>, but when I use <code>git-bash.exe</code> to run a single command, it looks like it does not work. Can you help me find out where is the problem?</p>
  
  <p>I have a PowerShell script to call below command. But looks like it does not work. I am not able to let the new cmd window to pause to see the error log:</p>
  
  <pre><code>cmd /c "d:\git\git-bash.exe dos2unix d:\test\my-script.sh"
  </code></pre>
  
  <p>But If double click and run <code>bash-exe.sh</code>, then in the <code>git-bash.exe</code> window type</p>
  
  <pre><code>dos2unix d:\test\my-script.sh
  </code></pre>
  
  <p>then it works.</p>