|
stc
|
#include <filesystem>#include <array>#include <atomic>#include <cstdlib>#include <cstring>#include <fcntl.h>#include <format>#include <functional>#include <iostream>#include <map>#include <memory>#include <mutex>#include <optional>#include <pty.h>#include <sstream>#include <string>#include <string_view>#include <sys/poll.h>#include <sys/wait.h>#include <thread>#include <unistd.h>#include <variant>#include <vector>Go to the source code of this file.
Classes | |
| struct | stc::Unix::LowLevelWrapper |
| struct | stc::Unix::Pipe |
| struct | stc::Unix::PTY |
| struct | stc::Unix::Pipes |
| struct | stc::Unix::Environment |
| struct | stc::Unix::Config |
| class | stc::Unix::Process |
Namespaces | |
| namespace | stc |
| namespace | stc::Unix |
Functions | |
| std::shared_ptr< Pipe > | stc::Unix::createPipe () |
| std::shared_ptr< PTY > | stc::Unix::createPTY () |
This file contains a UNIX-only command interface. It currently requires a UNIX environment. Windows support may be added in the future, but this will require third party help, as I do not hate myself enough to get that deep into the Windows API, and if we're being realistic, no one writes command line dev tools this involved for that shithole of an OS without a UNIX environment being involved.
Note that the API used here is not finalised, and is subject to change, including total breakage.