Re: Not getting correct exit status code (ExitStat (General questions)
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
Complete thread:
- Not getting correct exit status code (ExitStatus) - Jatin Mehta, 2006-03-10, 09:39
- Re: Not getting correct exit status code (ExitStat - wodSupport, 2006-03-10, 12:32
- Re: Not getting correct exit status code (ExitStat - Jatin Mehta, 2006-03-11, 04:53
- Re: Not getting correct exit status code (ExitStat - Jatin Mehta, 2006-03-11, 05:20
- Re: Not getting correct exit status code (ExitStat - wodSupport, 2006-03-11, 20:09
- Re: Not getting correct exit status code (ExitStat - Jatin Mehta, 2006-03-13, 04:18
- Re: Not getting correct exit status code (ExitStat - wodSupport, 2006-03-11, 20:09
- Re: Not getting correct exit status code (ExitStat - Jatin Mehta, 2006-03-11, 05:20
- Re: Not getting correct exit status code (ExitStat - Jatin Mehta, 2006-03-11, 04:53
- Re: Not getting correct exit status code (ExitStat - wodSupport, 2006-03-10, 12:32