|
RStudio Launcher Plugin SDK
1.1.3
A software development kit for creating plugins that work the the RStudio Launcher.
|
A blocking child process. More...
#include <Process.hpp>
Public Member Functions | |
| SyncChildProcess (const ProcessOptions &in_options) | |
| Constructor. More... | |
| Error | run (ProcessResult &out_result) |
| Runs the child process, blocking until it completes. More... | |
| Error | writeToStdin (const std::string &in_string, bool in_eof) override |
| Writes the specified string to stdin. More... | |
Public Member Functions inherited from rstudio::launcher_plugins::system::process::AbstractChildProcess | |
| virtual | ~AbstractChildProcess ()=default |
| Virtual destructor for inheritance. | |
| pid_t | getPid () const |
| Gets the PID of this child process. More... | |
| virtual Error | terminate () |
| Terminates the child process. More... | |
Public Member Functions inherited from rstudio::launcher_plugins::Noncopyable | |
| Noncopyable ()=default | |
| Default constructor. | |
| Noncopyable (const Noncopyable &)=delete | |
| Deleted copy constructor. | |
| Noncopyable & | operator= (const Noncopyable &)=delete |
| Deleted assignment operator. | |
Additional Inherited Members | |
Protected Member Functions inherited from rstudio::launcher_plugins::system::process::AbstractChildProcess | |
| AbstractChildProcess (const ProcessOptions &in_options) | |
| Constructor. More... | |
| Error | run () |
| Forks and executes the child process, passing along arguments and environment variables. More... | |
| PRIVATE_IMPL (m_baseImpl) | |
A blocking child process.
|
explicit |
Constructor.
| in_options | The options for the child process. |
| Error rstudio::launcher_plugins::system::process::SyncChildProcess::run | ( | ProcessResult & | out_result | ) |
|
overridevirtual |
Writes the specified string to stdin.
| in_string | The data to write to stdin. |
| in_eof | True if this is the last data to write to stdin. |
Implements rstudio::launcher_plugins::system::process::AbstractChildProcess.
1.8.16