https://mooseframework.inl.gov
ExecutablePath.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include <string>
13 
14 namespace Moose
15 {
16 
23 std::string getExecutablePath();
24 
31 std::string getExecutableName();
32 }
std::string getExecutablePath()
This function returns the PATH of the running executable.
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...
std::string getExecutableName()
This function returns the name of the running executable.