Enahs, that actually is not valid, because the return value of a system() command isn't the output, but is either 0 if it worked, or i cant remember what, if it doesnt.
So this only puts a 0 in the temporary file.
and envoigt, care to elaborate?