Re: [wtr-general] Killing a process

2010-02-05 Thread pallavi shashidhar
You are getting this error since you are trying to kill a thread which has not started. Try checking the path where clicker.rb is. The clicker.rb should be in the same place as the testcase. On Fri, Feb 5, 2010 at 3:28 AM, Shlomit Gazit wrote: > For handling popups I am doing the following: > >

[wtr-general] Killing a process

2010-02-04 Thread Shlomit Gazit
For handling popups I am doing the following: @pid = Process.create( :app_name => 'ruby clicker.rb', :creation_flags => Process::DETACHED_PROCESS ).process_id at_exit{ Process.kill(9,@pid) } It works fine, but then in