Hello:
A bash shell script executes code and then echoes text and the screen and exits with a specific exit code like:
echo "This is my text"
exit 1
RunCommand captures the string "This is my text". How do I capture the exit code of 1?
Thanks
A bash shell script executes code and then echoes text and the screen and exits with a specific exit code like:
echo "This is my text"
exit 1
RunCommand captures the string "This is my text". How do I capture the exit code of 1?
Thanks