Re: Not getting correct exit status code (ExitStat (General questions)

by Jasmine, (6994 days ago) @ Jatin Mehta

Jatin,

I'm pretty sure component behaves correctly. You executed remote shell upon connection, and that was successful, so component reports ExitStatus = 0 since that's what it receives when you disconnect. If you, on the other hand, set up Command property prior to connecting, and error happens, ExitStatus would return such error.

Can you try something like that?

Kreso

locked

Complete thread: