boost::process::executable_to_progname
// In header: <boost/process/operations.hpp> std::string executable_to_progname(const std::string & exe);
Extracts the program name from a given executable.
Returns:
The program name. On Windows the program name is returned without a file extension.