Search Results

Search: Posts Made By: karlssohn
2,166
Posted By karlssohn
you are right. redirecting doesn't change the...
you are right.
redirecting doesn't change the exit code but switching the command to background processing does ... so i think the problem still exists but the reason changed

Greetings
2,166
Posted By karlssohn
exit code "before"
Hej,

is there any way to receive the exit code of the command "before" the last command?

When executing something like:

command &> /dev/null &
echo $?

I get 0 ( I think for successfully...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 12:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy