Lines Matching defs:shell_command
55 llvm::StringRef shell_command) {
59 if (!m_shell.empty() && !shell_command.empty())
60 m_command = shell_command.str();
63 PlatformShellCommand(llvm::StringRef shell_command = llvm::StringRef()) {
64 if (!shell_command.empty())
65 m_command = shell_command.str();
168 const char *shell_command)
169 : m_opaque_ptr(new PlatformShellCommand(shell_interpreter, shell_command)) {
170 LLDB_INSTRUMENT_VA(this, shell_interpreter, shell_command);
173 SBPlatformShellCommand::SBPlatformShellCommand(const char *shell_command)
174 : m_opaque_ptr(new PlatformShellCommand(shell_command)) {
175 LLDB_INSTRUMENT_VA(this, shell_command);
230 void SBPlatformShellCommand::SetCommand(const char *shell_command) {
231 LLDB_INSTRUMENT_VA(this, shell_command);
233 if (shell_command && shell_command[0])
234 m_opaque_ptr->m_command = shell_command;
546 SBError SBPlatform::Run(SBPlatformShellCommand &shell_command) {
547 LLDB_INSTRUMENT_VA(this, shell_command);
550 const char *command = shell_command.GetCommand();
554 if (shell_command.GetWorkingDirectory() == nullptr) {
558 shell_command.SetWorkingDirectory(platform_working_dir.c_str());
561 shell_command.m_opaque_ptr->m_shell, command,
562 FileSpec(shell_command.GetWorkingDirectory()),
563 &shell_command.m_opaque_ptr->m_status,
564 &shell_command.m_opaque_ptr->m_signo,
565 &shell_command.m_opaque_ptr->m_output,
566 shell_command.m_opaque_ptr->m_timeout);