Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Global cmd

boost::process::cmd

Synopsis

// In header: <boost/process/cmd.hpp>

static unspecified cmd;

Description

The cmd property allows to explicitly set commands for the execution.

The overload form applies when only one string is passed to a launching function. The string will be internally parsed and split at spaces.

The following expressions are valid, with value being either a C-String or a std::basic_string with char or wchar_t.

cmd="value";
cmd(value);

The property can only be used for assignments.


PrevUpHomeNext