mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 10:07:19 +02:00
Hooks
- Implemented ::execute to run a command, feed it input, read it's output and return the exit status.
This commit is contained in:
parent
68436d0d50
commit
d30fb54a62
2 changed files with 41 additions and 1 deletions
|
@ -45,6 +45,9 @@ public:
|
|||
void onAdd (Task&);
|
||||
void onModify (const Task&, Task&);
|
||||
|
||||
private:
|
||||
int execute (const std::string&, const std::string&, std::string&);
|
||||
|
||||
private:
|
||||
std::vector <std::string> _scripts;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue