From: Matt Haley Date: 2009-10-07T06:39:25+09:00 Subject: Re: Get current working copy version in subversion/git On Tue, 6 Oct 2009, Jean-Michel wrote: > There is no need for IO.popen: > > commit_id, commit_date = `git show --pretty=format:"%H|%ci" -- > quiet`.split('|') IIRC, I was having trouble using the backticks under Windows and it worked well with IO.popen. I may be mistaken though, it's been a while since I initially wrote that snippet.