From: Space Ship Traveller Date: 2009-09-19T12:22:43+09:00 Subject: Re: Catching "File Saved" or CMD-W Signal? It spawns the child process (editor) and when it quits it checks the status code of the process. If it was successful it continues with the commit. On 19/09/2009, at 3:04 PM, Lance Pollard wrote: > Hey, > > How does git/svn know to to finish committing your changes after you > close the commit message (assuming you open it in TextMate or > something)? > > I would like to create something similar, where you run a command, it > opens a file for you to fill in the blanks, and when you save and > close > it, the process finishes, how would I do that? > > Thanks so much, > Lance > -- > Posted via http://www.ruby-forum.com/. >