• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 324
  • Last Modified:

C Shell

how do i check for an app's return state in C-shell.
is there a normal, succesful termination abnormal exit?
0
pipe
Asked:
pipe
  • 2
  • 2
  • 2
  • +2
1 Solution
 
ozoCommented:
app ; echo "exit status=$status"
0
 
ahoffmannCommented:
app &
0
 
kellyjjCommented:
I think the ' ? '  might work too
0
2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

 
ahoffmannCommented:
did you thing sh-ish, kellyjj ?
0
 
ozoCommented:
app &&
app ||
0
 
pipeAuthor Commented:
thanx,  

  1st two work well = )
0
 
jlmsCommented:
Then remove the question!!!!! Or award the points...
0
 
pipeAuthor Commented:
you win
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now