class BinaryLauncher
Defined at line 23 of file ../../src/developer/debug/debug_agent/binary_launcher.h
This class is designed to help two-phase process creation, where a process needs to be setup, but
before starting it that process needs to be attached to and registered with the DebugAgent.
Public Methods
debug::Status Setup (const std::vector<std::string> & argv)
Setup will create the process object but not launch the process yet.
StdioHandles ReleaseStdioHandles ()
It is possibly that Setup fails to obtain valid sockets from the process being launched. If
that is the case, both sockets will be in the initial state (ie. is_valid() == false).
std::unique_ptr<ProcessHandle> GetProcess ()
Accessor for a copy of the process handle, valid between Setup() and Start().
debug::Status Start ()
Completes process launching.
void ~BinaryLauncher ()
Defined at line 25 of file ../../src/developer/debug/debug_agent/binary_launcher.h