9#ifndef LLDB_API_SBLAUNCHINFO_H
10#define LLDB_API_SBLAUNCHINFO_H
15class SBLaunchInfoImpl;
16class ScriptInterpreter;
45 uint32_t GetGroupID();
49 bool GroupIDIsValid();
51 void SetUserID(uint32_t uid);
53 void SetGroupID(uint32_t gid);
78 void SetExecutableFile(
SBFileSpec exe_file,
bool add_as_first_arg);
114 uint32_t GetNumArguments();
116 const char *GetArgumentAtIndex(uint32_t idx);
118 void SetArguments(
const char **argv,
bool append);
120 uint32_t GetNumEnvironmentEntries();
122 const char *GetEnvironmentEntryAtIndex(uint32_t idx);
137 void SetEnvironmentEntries(
const char **envp,
bool append);
161 const char *GetWorkingDirectory()
const;
163 void SetWorkingDirectory(
const char *working_dir);
165 uint32_t GetLaunchFlags();
167 void SetLaunchFlags(uint32_t flags);
169 const char *GetProcessPluginName();
171 void SetProcessPluginName(
const char *plugin_name);
173 const char *GetShell();
175 void SetShell(
const char *path);
177 bool GetShellExpandArguments();
179 void SetShellExpandArguments(
bool expand);
181 uint32_t GetResumeCount();
183 void SetResumeCount(uint32_t c);
185 bool AddCloseFileAction(
int fd);
187 bool AddDuplicateFileAction(
int fd,
int dup_fd);
189 bool AddOpenFileAction(
int fd,
const char *path,
bool read,
bool write);
191 bool AddSuppressFileAction(
int fd,
bool read,
bool write);
193 void SetLaunchEventData(
const char *data);
195 const char *GetLaunchEventData()
const;
197 bool GetDetachOnError()
const;
199 void SetDetachOnError(
bool enable);
201 const char *GetScriptedProcessClassName()
const;
203 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.
class LLDB_API SBPlatform