Hello choroba ,,
I'm sure the open statement returns just fine ,.
Although , I was not aware filehandles could not be shared in threads (newbie :/) , thank you so much for pointing that out .
I have modified the code to avoid the filehandle statement , and used a shared variable to store the command output , it works great !! ..
Thanks again ... :)