aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorwisberg <wisberg>2005-05-12 11:50:13 +0000
committerwisberg <wisberg>2005-05-12 11:50:13 +0000
commit03ff536b6cbc30935dc0765c9555f6664092ed22 (patch)
tree8e419eafa3e1e135dfcb86489938987fd464ad2f /util
parentdc3b4431dc66eff79ec34a3207972a06f9788ad0 (diff)
downloadaspectj-03ff536b6cbc30935dc0765c9555f6664092ed22.tar.gz
aspectj-03ff536b6cbc30935dc0765c9555f6664092ed22.zip
snooping out stream on request
Diffstat (limited to 'util')
-rw-r--r--util/src/org/aspectj/util/LangUtil.java3
1 files changed, 3 insertions, 0 deletions
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() {