Add option to discard command output
This commit is contained in:
@@ -101,7 +101,7 @@ internal inline CMDError get_command_output(FILE *fp,
|
||||
}
|
||||
|
||||
strcat(out_buf, out);
|
||||
} else {
|
||||
} else if (out_handling == SHELL_OUTPUT_PRINT) {
|
||||
printf("%s", out);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user