Terminal Message Output after Injecting Exec Command

Is it possible to capture the terminal message returned once an exec command has been injected in Node Red?

Do you mean you are using an exec node and you want to capture the output of the command?

The exec node has three outputs. The top output is the stdout of the command. The middle output is the stderr and the third output is the return code of the command. Does that give you what you want?

I shall try them and see. Thank you

When I connect a debug node I get no message out?

Have you connected a debug node to each of the three outputs?
How have you configured the exec node?
Have you checked you are actually triggering the exec node?

Also note that if you select Exec mode then you will get nothing till the command completes. If you want to see output whilst the command is still running then use Spawn mode.