fix: compiling but not working -- need debug

This commit is contained in:
Matteo Flebus 2026-01-15 20:42:28 +01:00
parent 1eecb1bd42
commit 04529f858c
4 changed files with 11 additions and 3 deletions

View file

@ -96,7 +96,9 @@ ssize_t stream_read(char **stream)
else if (context.mode == IOB_MODE_CMD)
{
*stream = context.args;
return strlen(context.args);
size_t len = strlen(context.args);
context.args[len] = EOF;
return len;
}
else
{