summaryrefslogtreecommitdiff
path: root/lib/sbin
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2008-01-25 14:52:06 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2008-01-25 14:52:06 +0000
commitcf24db09a368a921e6bc4f5dc332c9ba5d4e9920 (patch)
tree0c37dc5187b3bf0fcc8621f21d4975ce15589c3c /lib/sbin
parentd82263df799a28b9649ef4b852af105d5021b2e4 (diff)
Capture stderr as well when issuing a command
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4449 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin')
-rw-r--r--lib/sbin/RunTestUtils.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbin/RunTestUtils.pl b/lib/sbin/RunTestUtils.pl
index 6413ae3a..47021605 100644
--- a/lib/sbin/RunTestUtils.pl
+++ b/lib/sbin/RunTestUtils.pl
@@ -549,7 +549,7 @@ sub RunCactus
printf "\n Issuing $command\n";
$retcode = 0;
- open (CMD, "pwd; $command |");
+ open (CMD, "pwd; $command 2>&1 |");
open (LOG, "> $testname.log");
while (<CMD>)