Subject: [Boost-bugs] [Boost C++ Libraries] #13323: Passing a vector of arguments to boost::process (boost::fusion)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-12-04 14:57:30
#13323: Passing a vector of arguments to boost::process (boost::fusion)
--------------------------------------+---------------------
Reporter: jpo38 <jean.porcherot@â¦> | Owner: (none)
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost 1.65.0 | Severity: Problem
Keywords: |
--------------------------------------+---------------------
I'm trying to create a `boost::process` from a vector of string arguments:
{{{
void runProcess( const std::string& exe, const
std::vector<std::string>& args )
{
bp::ipstream out;
bp::child c(exe, args, std_out > out);
...
}
}}}
This apparently works, but I'm getting the following warning with Visual
Studio 2015:
> warning C4503: 'boost::fusion::detail::for_each_linear': decorated name
length exceeded, name was truncated
It diseappears if passing arguments one by one `bp::child c(exe, "param1",
"param2", std_out > out);`.
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13323> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-12-04 15:04:15 UTC