Gmong has asked for the wisdom of the Perl Monks concerning the following question:
I am looking for a method that can obtain and process the output of a program as well as detect if the program has thrown a segmentation fault.
I know how to do either but not both.In fact, this script will run the method over ssh on another linux machine as it is part of a distributed system.
Any ideas on how I could achieve this?
Many thanks in advance...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Capturing stdout and segfault of a program
by Zaxo (Archbishop) on Mar 07, 2005 at 06:21 UTC | |
|
Re: Capturing stdout and segfault of a program
by DrHyde (Prior) on Mar 07, 2005 at 10:05 UTC | |
|
Re: Capturing stdout and segfault of a program
by sgifford (Prior) on Mar 07, 2005 at 15:03 UTC | |
by Gmong (Novice) on Mar 07, 2005 at 20:53 UTC | |
by sgifford (Prior) on Mar 08, 2005 at 05:40 UTC | |
by Gmong (Novice) on Mar 10, 2005 at 21:27 UTC | |
|
Re: Capturing stdout and segfault of a program
by monkey_boy (Priest) on Mar 07, 2005 at 09:42 UTC | |
by Gmong (Novice) on Mar 07, 2005 at 20:45 UTC |