Output from a script is not collected by an ITM custom agent

I created a custom agent in windows using Agent Builder and expected that the output of a command inside a script would be received by the agent

and shown in the attributes view, instead this does not happen and the agent does not return any result.
If I run the script from a command prompt I can always see the output.

What am I doing wrong?

Related:

Leave a Reply