search for: path_to_extracted_zipdir

Displaying 1 result from an estimated 1 matches for "path_to_extracted_zipdir".

2007 Mar 05
0
dynamic status back to client...
...capture the output as dynamically as possible and send it to the client. I do the following currently: class SvnWorker < Worker::Base def do_stuff(args) tmp = [] my_project = args[:repo] # Import the contents of a 20 Meg project into a bare bones svn repo. import_status = `svn import #{path_to_extracted_zipdir} file://#{my_project}` tmp = import_status results[:response] = tmp end def status results[:response] end end This only fills results[:response] at the end of the system call ... I would rather dynamically get all the output to stdout the svn import command gives back. Like the followin...