9 #ifndef LLDB_API_SBLAUNCHINFO_H
10 #define LLDB_API_SBLAUNCHINFO_H
15 class SBLaunchInfoImpl;
41 bool GroupIDIsValid();
70 void SetExecutableFile(
SBFileSpec exe_file,
bool add_as_first_arg);
89 const char *GetArgumentAtIndex(
uint32_t idx);
91 void SetArguments(
const char **argv,
bool append);
95 const char *GetEnvironmentEntryAtIndex(
uint32_t idx);
110 void SetEnvironmentEntries(
const char **envp,
bool append);
134 const char *GetWorkingDirectory()
const;
136 void SetWorkingDirectory(
const char *working_dir);
140 void SetLaunchFlags(
uint32_t flags);
142 const char *GetProcessPluginName();
144 void SetProcessPluginName(
const char *plugin_name);
146 const char *GetShell();
148 void SetShell(
const char *path);
150 bool GetShellExpandArguments();
152 void SetShellExpandArguments(
bool expand);
158 bool AddCloseFileAction(
int fd);
160 bool AddDuplicateFileAction(
int fd,
int dup_fd);
162 bool AddOpenFileAction(
int fd,
const char *path,
bool read,
bool write);
164 bool AddSuppressFileAction(
int fd,
bool read,
bool write);
166 void SetLaunchEventData(
const char *data);
168 const char *GetLaunchEventData()
const;
170 bool GetDetachOnError()
const;
172 void SetDetachOnError(
bool enable);
174 const char *GetScriptedProcessClassName()
const;
176 void SetScriptedProcessClassName(
const char *class_name);
194 #endif // LLDB_API_SBLAUNCHINFO_H