I've got some code like this:

sources = File.new 'file_list.txt'
sources.each do |src|
	exec "mkdir #{some_dest}" unless File.exists some_dest
	exec "svn export #{src} #{some_dest}"
end
puts 'Done.'

The problem is that ruby calls 'svn export' once for the first line  
of sources and exits without looping through subsequent sources or  
getttng to the line "puts 'Done.'"

exec works just fine with the "mkdir" call.

A couple of things:
1. I'm on Windows Server 2003
2. svn (Subversion) 1.3
3. I'm not using the rscm gem with it's subversion interface because  
I need to export and rscm doesn't appear to do this (maybe I'll see  
about adding it)

Any ideas why a call to svn wouldn't return control to my ruby script?


--
Craig Beck

http://www.luckybonza.com
AIM: kreiggers