Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function executable_to_progname

boost::process::executable_to_progname

Synopsis

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


std::string executable_to_progname(const std::string & exe);

Description

Extracts the program name from a given executable.

Returns:

The program name. On Windows the program name is returned without a file extension.


PrevUpHomeNext