- How do I know when it is complete? Ideally, I would like to send zip 
file once the process is complete rather than giving arbitrary sleep 
time.
- Is it possible to get an estimate of this?

-
Thanks,
CS.

Frederick Cheung wrote:
> On 12 Apr 2009, at 05:26, Carlos Santana wrote:
>> thought above method wouldn't return until background jobs are  
>> complete.
>>
> If you want to wait for a process to complete you should be using
> Process.wait. Though if you're blocking on it like that what's the
> point of using fork ?
> 
> Fred

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to