Use the output of a module inside a class (including task (generator)

In reply to chr_sue:

Many thanks sue,

it woks only on linux ? what for windows?