File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -68,27 +68,27 @@ namespace
6868 do
6969 {
7070 uint32_t byteRead = 0 ;
71- const int bufferSize = 4096 ;
71+ const int bufferSize = 32 ;
7272 char output[bufferSize] = {0 };
7373
7474 result = System2ReadFromOutput ( &runCommandInfo,
7575 output,
76- bufferSize,
76+ bufferSize - 1 ,
7777 &byteRead);
7878
7979 output[byteRead] = ' \0 ' ;
8080
8181 // Log the output and continue fetching output
8282 if (result == SYSTEM2_RESULT_READ_NOT_FINISHED)
8383 {
84- ssLOG_SIMPLE ( output) ;
84+ std::cout << output << std::flush ;
8585 continue ;
8686 }
8787
8888 // If we have finished reading the output, check if the command has finished
8989 if (result == SYSTEM2_RESULT_SUCCESS)
9090 {
91- ssLOG_SIMPLE ( output) ;
91+ std::cout << output << std::flush ;
9292
9393 result = System2GetCommandReturnValueAsync (&runCommandInfo, &statusCode);
9494
Original file line number Diff line number Diff line change 1+ - Rename compiler profiles to user config
2+ - Loading dynamic library instead of executable
3+ - Output compile_command.json
14- Allow script info as standalone yaml file
25- Copy shared libraries to be next to the executable
36- Commandline options
You can’t perform that action at this time.
0 commit comments