Link to home
Start Free TrialLog in
Avatar of pipe
pipe

asked on

C Shell

how do i check for an app's return state in C-shell.
is there a normal, succesful termination abnormal exit?
Avatar of ozo
ozo
Flag of United States of America image

app ; echo "exit status=$status"
app &
Avatar of kellyjj
kellyjj

I think the ' ? '  might work too
did you thing sh-ish, kellyjj ?
app &&
app ||
Avatar of pipe

ASKER

thanx,  

  1st two work well = )
ASKER CERTIFIED SOLUTION
Avatar of jlms
jlms

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pipe

ASKER

you win