Lines Matching refs:shell_command
51 llvm::StringRef shell_command) { in PlatformShellCommand()
55 if (!m_shell.empty() && !shell_command.empty()) in PlatformShellCommand()
56 m_command = shell_command.str(); in PlatformShellCommand()
59 PlatformShellCommand(llvm::StringRef shell_command = llvm::StringRef()) { in PlatformShellCommand()
60 if (!shell_command.empty()) in PlatformShellCommand()
61 m_command = shell_command.str(); in PlatformShellCommand()
164 const char *shell_command) in SBPlatformShellCommand() argument
165 : m_opaque_ptr(new PlatformShellCommand(shell_interpreter, shell_command)) { in SBPlatformShellCommand()
166 LLDB_INSTRUMENT_VA(this, shell_interpreter, shell_command); in SBPlatformShellCommand()
169 SBPlatformShellCommand::SBPlatformShellCommand(const char *shell_command) in SBPlatformShellCommand() argument
170 : m_opaque_ptr(new PlatformShellCommand(shell_command)) { in SBPlatformShellCommand()
171 LLDB_INSTRUMENT_VA(this, shell_command); in SBPlatformShellCommand()
226 void SBPlatformShellCommand::SetCommand(const char *shell_command) { in SetCommand() argument
227 LLDB_INSTRUMENT_VA(this, shell_command); in SetCommand()
229 if (shell_command && shell_command[0]) in SetCommand()
230 m_opaque_ptr->m_command = shell_command; in SetCommand()
542 SBError SBPlatform::Run(SBPlatformShellCommand &shell_command) { in Run() argument
543 LLDB_INSTRUMENT_VA(this, shell_command); in Run()
546 const char *command = shell_command.GetCommand(); in Run()
550 if (shell_command.GetWorkingDirectory() == nullptr) { in Run()
554 shell_command.SetWorkingDirectory(platform_working_dir.c_str()); in Run()
557 shell_command.m_opaque_ptr->m_shell, command, in Run()
558 FileSpec(shell_command.GetWorkingDirectory()), in Run()
559 &shell_command.m_opaque_ptr->m_status, in Run()
560 &shell_command.m_opaque_ptr->m_signo, in Run()
561 &shell_command.m_opaque_ptr->m_output, in Run()
562 shell_command.m_opaque_ptr->m_timeout); in Run()