Re: [akka-user] Re: Intercept STDOUT of other process

2016-03-20 Thread Eric Pederson
If your Akka program creates the process (for example, using ProcessBuilder), then you can capture the output and do whatever you want with it, including routing it into an Akka stream. If the process is started by some other means then it would be harder - you would need to capture the outpu

Re: [akka-user] Re: Intercept STDOUT of other process

2016-03-19 Thread Konrad Malawski
That's what bash pipes are for :-) --  Cheers, Konrad 'ktoso’ Malawski Akka @ Lightbend On 19 March 2016 at 15:51:10, Arun Sethia (sethia.a...@gmail.com) wrote: Thanks. My question is more on STDOUT of any other process, specially if it is non java. On Saturday, March 19, 2016 at 6:54:51 AM UT

[akka-user] Re: Intercept STDOUT of other process

2016-03-19 Thread Arun Sethia
Thanks. My question is more on STDOUT of any other process, specially if it is non java. On Saturday, March 19, 2016 at 6:54:51 AM UTC-5, Konrad Malawski wrote: > > Hi there, > > Please don't *immediately* cross post your questions here and stack > overflow >

[akka-user] Re: Intercept STDOUT of other process

2016-03-19 Thread Konrad Malawski
Hi there, Please don't *immediately* cross post your questions here and stack overflow , it makes it harder to track answered questions. It's ok to cross post if after a while you did not rece