|
Guitar
|
#include <ProcessWinConPty.h>


Classes | |
| struct | Private |
Public Member Functions | |
| ProcessWinConPty () | |
| ~ProcessWinConPty () override | |
| void | start (std::string const &command, std::string const &env, bool use_input) override |
| ProcessResult | wait (int time=INT_MAX) override |
| void | stop () override |
| bool | is_running () const override |
| int | get_exit_code () const override |
| void | close_input () override |
| void | write_input (char const *ptr, int len) override |
| int | read_output (char *ptr, int len) |
| void | set_no_window (bool no_window) |
| void | set_options (BasicProcessWinConPty::Options const &options) |
Public Member Functions inherited from AbstractPtyProcess | |
| virtual | ~AbstractPtyProcess () |
| void | set_change_dir (process::helper::dir_string_t const &dir) |
| void | set_max_output_queue_size (size_t n) |
| void | set_completion_callback (std::function< void(bool, std::shared_ptr< void >)> fn, std::shared_ptr< void > userdata) |
| void | notify_completed () |
| std::string | get_message () const |
| void | clear_message () |
| std::vector< char > const & | stdout_bytes () const |
| std::vector< char > const & | stderr_bytes () const |
Private Attributes | |
| Private * | m |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractPtyProcess | |
| void | write_output (char const *buf, size_t len) |
| int | pop_output (char *ptr, int len) |
Protected Attributes inherited from AbstractPtyProcess | |
| std::mutex | mutex_ |
| std::condition_variable | cond_ |
| process::helper::dir_string_t | change_dir_ |
| std::shared_ptr< void > | user_data_ |
| std::function< void(bool, std::shared_ptr< void >)> | completed_fn_ |
| std::deque< char > | output_queue_ |
| std::vector< char > | output_vector_ |
| std::vector< char > | stderr_bytes_ |
| size_t | max_output_queue_size_ = 0 |
| ProcessWinConPty::ProcessWinConPty | ( | ) |

|
override |

|
overridevirtual |
|
overridevirtual |
Implements AbstractPtyProcess.
|
overridevirtual |
Implements AbstractPtyProcess.
|
virtual |
| void ProcessWinConPty::set_no_window | ( | bool | no_window | ) |

| void ProcessWinConPty::set_options | ( | BasicProcessWinConPty::Options const & | options | ) |

|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Implements AbstractPtyProcess.
|
overridevirtual |
|
private |