Merge branch 'master' of https://github.com/zawwz/ztd
This commit is contained in:
commit
2abb725fbc
2 changed files with 2 additions and 2 deletions
|
|
@ -157,7 +157,7 @@ namespace ztd
|
|||
/*! @see option* find(char c)
|
||||
*/
|
||||
option& operator[](const char c) { return *this->find(c); }
|
||||
//! @brief Get option with char name
|
||||
//! @brief Get option with string name
|
||||
/*! @see option* find(const std::string& str);
|
||||
*/
|
||||
option& operator[](const std::string& str) { return *this->find(str); }
|
||||
|
|
|
|||
|
|
@ -181,5 +181,5 @@ void ztd::shc::run_process(shc* p)
|
|||
|
||||
p->running = false;
|
||||
p->wp_finish.notify_all();
|
||||
p->return_value = ztd::pclose2(stream, pid);
|
||||
p->return_value = WEXITSTATUS(ztd::pclose2(stream, pid));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue