LLDB mainline
PlatformShellCommand Struct Reference

Public Member Functions

 PlatformShellCommand (llvm::StringRef shell_interpreter, llvm::StringRef shell_command)
 PlatformShellCommand (llvm::StringRef shell_command=llvm::StringRef())
 ~PlatformShellCommand ()=default

Public Attributes

std::string m_shell
std::string m_command
std::string m_working_dir
std::string m_output
int m_status = 0
int m_signo = 0
Timeout< std::ratio< 1 > > m_timeout = std::nullopt

Detailed Description

Definition at line 52 of file SBPlatform.cpp.

Constructor & Destructor Documentation

◆ PlatformShellCommand() [1/2]

PlatformShellCommand::PlatformShellCommand ( llvm::StringRef shell_interpreter,
llvm::StringRef shell_command )
inline

Definition at line 53 of file SBPlatform.cpp.

References m_command, and m_shell.

◆ PlatformShellCommand() [2/2]

PlatformShellCommand::PlatformShellCommand ( llvm::StringRef shell_command = llvm::StringRef())
inline

Definition at line 62 of file SBPlatform.cpp.

References m_command.

◆ ~PlatformShellCommand()

PlatformShellCommand::~PlatformShellCommand ( )
default

Member Data Documentation

◆ m_command

std::string PlatformShellCommand::m_command

Definition at line 70 of file SBPlatform.cpp.

Referenced by PlatformShellCommand(), and PlatformShellCommand().

◆ m_output

std::string PlatformShellCommand::m_output

Definition at line 72 of file SBPlatform.cpp.

Referenced by lldb::SBPlatform::Run().

◆ m_shell

std::string PlatformShellCommand::m_shell

Definition at line 69 of file SBPlatform.cpp.

Referenced by PlatformShellCommand(), and lldb::SBPlatform::Run().

◆ m_signo

int PlatformShellCommand::m_signo = 0

Definition at line 74 of file SBPlatform.cpp.

Referenced by lldb::SBPlatform::Run().

◆ m_status

int PlatformShellCommand::m_status = 0

Definition at line 73 of file SBPlatform.cpp.

Referenced by lldb::SBPlatform::Run().

◆ m_timeout

Timeout<std::ratio<1> > PlatformShellCommand::m_timeout = std::nullopt

Definition at line 75 of file SBPlatform.cpp.

Referenced by lldb::SBPlatform::Run().

◆ m_working_dir

std::string PlatformShellCommand::m_working_dir

Definition at line 71 of file SBPlatform.cpp.


The documentation for this struct was generated from the following file: