return code
"Newpol, Richard" <[email protected]>
| Newsgroups | gmane.comp.gnu.screen |
|---|---|
| Message-ID | <313680C9A886D511A06000204840E1CF067D7168@whq-msgusr-02.pit.comms.marconi.com> |
Is there any way to get the return code from the program that exists, terminating screen? For example, if I run the following in a script: screen -m -D -S MySession myprog When myprog exits, then screen will exit, but it seems that regardless of my program's exit code, screen always returns 0. Can I get my program's exit code somehow? Rich Newpol Marconi Communications Pittsburgh, PA