|
handling a coredump on HP?
This works for all my normal executions. But on one machine, a coredump is expected on one command. We don't care and know it will always happen, but need to confirm the version info from the start of the output. This is output from the exe:
$ ./Up
-*-*- XXXXXXX UPDATE XXXXX Version nnnnnnnn -*-*-
-*-*- Copyright (C) 1998-2007 xxxxxxxxxxxxxx, Inc. -*-*-
Processing begins: 10/4/2007 10:48:12
Tracking Database Connect Error
Memory fault(coredump)
However, when I send the output to a file, the output file is empty:
$ ./Up > ../Up_output.txt 2>&1
Memory fault(coredump)
$ cd ..
$ cat Up_output.txt
$
How do I capture the output so I can check the version and continue processing?
|