]> source.dussan.org Git - aspectj.git/commitdiff
snooping out stream on request
authorwisberg <wisberg>
Thu, 12 May 2005 11:50:13 +0000 (11:50 +0000)
committerwisberg <wisberg>
Thu, 12 May 2005 11:50:13 +0000 (11:50 +0000)
util/src/org/aspectj/util/LangUtil.java

index 9d3103011d0ad7305ecd2f9e6e1535cc7e99b2f5..7e88949ae629753011ba26eae6603c15da42134b 100644 (file)
@@ -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() {