Opened 3 months ago

#13323 new Bugs

Passing a vector of arguments to boost::process (boost::fusion)

Reported by: jpo38 <jean.porcherot@…> Owned by:
Milestone: To Be Determined Component: None
Version: Boost 1.65.0 Severity: Problem
Keywords: Cc:


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);.

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.