|
RStudio Launcher Plugin SDK
1.1.3
A software development kit for creating plugins that work the the RStudio Launcher.
|
Creates and manages non-blocking child processes. More...
#include <Process.hpp>
Static Public Member Functions | |
| static bool | hasRunningChildren () |
| Checks whether the supervisor is tracking any processes which have not exited yet. More... | |
| static Error | runAsyncProcess (const ProcessOptions &in_options, const AsyncProcessCallbacks &in_callbacks, std::shared_ptr< AbstractChildProcess > *out_childProcess=nullptr) |
| Runs a child process asynchronously. More... | |
| static void | terminateAll () |
| Terminates all running children forcefully. | |
| static bool | waitForExit (const TimeDuration &in_maxWaitTime=TimeDuration::Infinity()) |
| Waits for all child processes to exit. More... | |
Additional Inherited Members | |
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. | |
Creates and manages non-blocking child processes.
|
static |
Checks whether the supervisor is tracking any processes which have not exited yet.
|
static |
Runs a child process asynchronously.
| in_options | The options for the child process. |
| in_callbacks | The callbacks to invoke when output is written, an error occurs, or the process exits. |
| out_childProcess | The child process, if no error occurs on startup. |
|
static |
Waits for all child processes to exit.
| in_maxWaitTime | The maximum amount of time to wait for the child processes to exit. Default: no limit. |
1.8.16