9#ifndef LLDB_API_SBLAUNCHINFO_H
10#define LLDB_API_SBLAUNCHINFO_H
15class SBLaunchInfoImpl;
16class ScriptInterpreter;
49 bool GroupIDIsValid();
78 void SetExecutableFile(
SBFileSpec exe_file,
bool add_as_first_arg);
97 const char *GetArgumentAtIndex(
uint32_t idx);
99 void SetArguments(
const char **argv,
bool append);
101 uint32_t GetNumEnvironmentEntries();
103 const char *GetEnvironmentEntryAtIndex(
uint32_t idx);
118 void SetEnvironmentEntries(
const char **envp,
bool append);
142 const char *GetWorkingDirectory()
const;
144 void SetWorkingDirectory(
const char *working_dir);
148 void SetLaunchFlags(
uint32_t flags);
150 const char *GetProcessPluginName();
152 void SetProcessPluginName(
const char *plugin_name);
154 const char *GetShell();
156 void SetShell(
const char *path);
158 bool GetShellExpandArguments();
160 void SetShellExpandArguments(
bool expand);
166 bool AddCloseFileAction(
int fd);
168 bool AddDuplicateFileAction(
int fd,
int dup_fd);
170 bool AddOpenFileAction(
int fd,
const char *path,
bool read,
bool write);
172 bool AddSuppressFileAction(
int fd,
bool read,
bool write);
174 void SetLaunchEventData(
const char *data);
176 const char *GetLaunchEventData()
const;
178 bool GetDetachOnError()
const;
180 void SetDetachOnError(
bool enable);
182 const char *GetScriptedProcessClassName()
const;
184 void SetScriptedProcessClassName(
const char *class_name);
std::shared_ptr< lldb_private::SBLaunchInfoImpl > m_opaque_sp
A class that represents a running process on the host machine.