Boost logo

Boost Users :

Subject: [Boost-users] create_pipe() not working ?
From: Shubha Ramani (shubharamani_at_[hidden])
Date: 2016-08-30 16:59:11


Is this example outdated ? How come I can't create a boost pipe ?
https://us-mg0.mail.yahoo.com/neo/launch?.rand=3f0ef0mo8jiih#1996284311
boost::process::pipe p = create_pipe();

file_descriptor_sink sink(p.sink, close_handle);
execute(
    run_exe("test.exe"),
    bind_stdout(sink)
);

file_descriptor_source source(p.source, close_handle);
stream<file_descriptor_source> is(source);
std::string s;
std::getline(is, s); Shubha D. Ramanishubharamani_at_[hidden]
shubharamani_at_[hidden]



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net