Added process output.
This commit is contained in:
parent
e573efc2ad
commit
984e125cfd
1
tools.h
1
tools.h
@ -77,6 +77,7 @@ char* tool_function_linux_terminal(char* command) {
|
|||||||
return strdup("Failed to allocate memory!");
|
return strdup("Failed to allocate memory!");
|
||||||
}
|
}
|
||||||
output = new_output;
|
output = new_output;
|
||||||
|
printf("%s", output);
|
||||||
strcpy(output + total_size, buffer);
|
strcpy(output + total_size, buffer);
|
||||||
total_size += chunk_size;
|
total_size += chunk_size;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user