https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
14namespace Moose
15{
16
23std::string getExec();
24
31std::string getExecutablePath();
32
39std::string getExecutableName();
40}
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...
std::string getExecutableName()
Gets the name of the running executable on Mac OS X and linux.
std::string getExec()
Gets the full path to the running executable on Mac OS X and linux.
std::string getExecutablePath()
Gets the directory the running executable is on Mac OS X and linux.