Issue
I have two methods. The first one remotely executes an executable and the second one stars talking with an executable. The executable is a web-service. The first step does not return the true (executed through shell) because it starts and waits for the second step. Is there a way to execute the first method and the second method in parallel?
Solution
Use thread.
t1 = Thread.new do
first_method
end
second_method
t1.join
Answered By - sawa