boost::process async io and reading stdout line by line

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

boost::process async io and reading stdout line by line

Boost - Users mailing list

Hi,

Is it possible to use boost::process async io and reading the stdout
line by line?

Thanks.


--
Regards, niXman
___________________________________________________
Dual-target(32 & 64-bit) MinGW-W64 compilers for 32 and 64-bit Windows:
https://sf.net/p/mingw-w64/
_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
Reply | Threaded
Open this post in threaded view
|

Re: boost::process async io and reading stdout line by line

Boost - Users mailing list
Hi,

It is indeed possible.

You just need to use async_read_until instead of async_read.

Best regards

--
Juan
:wq


_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users