#include <cctype>#include <filesystem>#include <fstream>#include <string>#include <string_view>#include <system_error>Go to the source code of this file.
Namespaces | |
| namespace | eonc |
| RAII resource manager for the ARTn C library with global synchronization. | |
| namespace | eonc::pot |
Functions | |
| std::string | eonc::pot::shellQuote (const std::string &text) |
| Wrap a path for the shell system() hands the command to, so spaces in it survive. | |
| std::string | eonc::pot::shebangInterpreter (const std::filesystem::path &path) |
| Return the interpreter name from a #! line, or empty. | |
| bool | eonc::pot::isPythonInterpreterName (std::string name) |
True when name is python, python3, python3.12, python.exe, ... | |
| std::string | eonc::pot::wrapResolvedProgram (const std::string &command, const std::string &python) |
| Quote a resolved program path, and on Windows prefix a script so cmd.exe can start it. | |