From 03ff536b6cbc30935dc0765c9555f6664092ed22 Mon Sep 17 00:00:00 2001 From: wisberg Date: Thu, 12 May 2005 11:50:13 +0000 Subject: [PATCH] snooping out stream on request --- util/src/org/aspectj/util/LangUtil.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/src/org/aspectj/util/LangUtil.java b/util/src/org/aspectj/util/LangUtil.java index 9d3103011..7e88949ae 100644 --- a/util/src/org/aspectj/util/LangUtil.java +++ b/util/src/org/aspectj/util/LangUtil.java @@ -1271,6 +1271,9 @@ public class LangUtil { errStream.setSnoop(errSnoop); } outStream = new FileUtil.Pipe(process.getInputStream(), System.out); + if (null != outSnoop) { + outStream.setSnoop(outSnoop); + } inStream = new FileUtil.Pipe(System.in, process.getOutputStream()); // start 4 threads, process & pipes for in, err, out Runnable processRunner = new Runnable() { -- 2.39.5