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;
544 SBError SBPlatform::Run(SBPlatformShellCommand &shell_command) {
545 LLDB_INSTRUMENT_VA(this, shell_command);
548 const char *command = shell_command.GetCommand();
552 if (shell_command.GetWorkingDirectory() == nullptr) {
556 shell_command.SetWorkingDirectory(platform_working_dir.c_str());
559 shell_command.m_opaque_ptr->m_shell, command,
560 FileSpec(shell_command.GetWorkingDirectory()),
561 &shell_command.m_opaque_ptr->m_status,
562 &shell_command.m_opaque_ptr->m_signo,
563 &shell_command.m_opaque_ptr->m_output,
564 shell_command.m_opaque_ptr->m_timeout);