title: Is it possible to run a command from Cygwin, into a Git Bash terminal, with arguments?
body: <p>I haven't been able to find a similar question, but I can't imagine this is an issue that comes up too much.</p>
  
  <p>At my workplace I've decided to switch over to a full Linux experience by using Cygwin, over what I was previously using, Git Bash. </p>
  
  <p>The only slight drawback is that we have a script written in Ruby that deploys changes to our site. I can run this from my Git Bash terminal no problem, but not Cygwin as there doesn't seem to be a Ruby installation on here. I've learned about sending standard output to other terminal windows, but I've only been successful when both terminals have been the same shell.</p>
  
  <p>What I'd like to do is the following:
   1. Type a command into Cygwin that opens a Git Bash terminal and automatically runs ./deploy.sh on that Git Bash terminal upon opening.
   2. If possible, also pass in an argument in the same command, that the script expects upon running. (In this case it's whether we want to deploy to our staging or production server).</p>
  
  <p>Is this possible? So far I can get what looks to be a Git Bash terminal to open and prompt me for the server, but when I enter it, it does not work. I get an error with regards to a command within the script not being found. Thing is, running this same ./deploy.sh script in a Git Bash terminal that I open myself works perfectly as it always has. The Git Bash terminal that is being opened by Cygwin does not appear to have all of the capabilities of a Git Bash terminal I open 'the normal way'.</p>
  
  <p>The command I am running so far from Cygwin is as follows:
  /cygdrive/c/'Program Files'/Git/git-bash.exe "./deploy.sh"</p>
  
  <p>I understand there is probably a way of getting this to work by installing Ruby via Cygwin but I'd like to mess around with my work environment as little as possible in case I somehow affect my ability to deploy my work... and besides, Git Bash definitely runs this script without an issue so I can't see why I would need a duplicate installation.</p>
  
  <p>Many thanks!</p>