mirror of
https://github.com/GothenburgBitFactory/taskshell.git
synced 2025-07-07 20:06:42 +02:00
Bug: ::execute concatenates output
- The ::execute function concatenates output to the std::string provided, which is almost never wanted. Now it clears first.
This commit is contained in:
parent
2834e14eb5
commit
5d7c55c7af
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ int execute (
|
|||
close (pin[1]);
|
||||
}
|
||||
|
||||
output = "";
|
||||
read_retval = -1;
|
||||
written = 0;
|
||||
while (read_retval != 0 || input.size () != written)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue