Home | Libraries | People | FAQ | More |
boost::process::create_child
// In header: <boost/process/operations.hpp> template<typename Arguments, typename Context> child create_child(const std::string & executable, Arguments args, Context ctx); child create_child(const std::string & executable); template<typename Arguments> child create_child(const std::string & executable, Arguments args);
Starts a new child process.
Launches a new process based on the binary image specified by the executable, the set of arguments passed to it and the execution context.
Blocking remarks: This function may block if the device holding the executable blocks when loading the image. This might happen if, e.g., the binary is being loaded from a network share.
Returns: |
A handle to the new child process. |