runtime: native-command: remove logging from record processing
This commit is contained in:
@@ -91,7 +91,6 @@ static enum bshell_status begin_processing(
|
|||||||
{
|
{
|
||||||
struct bshell_native_command_p *cmd_p
|
struct bshell_native_command_p *cmd_p
|
||||||
= fx_object_get_private(cmd, BSHELL_TYPE_NATIVE_COMMAND);
|
= fx_object_get_private(cmd, BSHELL_TYPE_NATIVE_COMMAND);
|
||||||
printf("begin processing '%s'\n", fx_string_get_cstr(cmd_p->cmd_path));
|
|
||||||
int flags = 0;
|
int flags = 0;
|
||||||
switch (position) {
|
switch (position) {
|
||||||
case BSHELL_COMMAND_POSITION_BEGINNING:
|
case BSHELL_COMMAND_POSITION_BEGINNING:
|
||||||
@@ -117,7 +116,6 @@ static enum bshell_status process_record(
|
|||||||
{
|
{
|
||||||
struct bshell_native_command_p *cmd_p
|
struct bshell_native_command_p *cmd_p
|
||||||
= fx_object_get_private(cmd, BSHELL_TYPE_NATIVE_COMMAND);
|
= fx_object_get_private(cmd, BSHELL_TYPE_NATIVE_COMMAND);
|
||||||
printf("process record '%s'\n", fx_string_get_cstr(cmd_p->cmd_path));
|
|
||||||
|
|
||||||
if (cmd_p->cmd_flags & F_REDIRECT_STDIN) {
|
if (cmd_p->cmd_flags & F_REDIRECT_STDIN) {
|
||||||
fx_value in = bshell_pipeline_read_value(pipeline);
|
fx_value in = bshell_pipeline_read_value(pipeline);
|
||||||
@@ -161,7 +159,6 @@ static enum bshell_status end_processing(bshell_command *cmd)
|
|||||||
{
|
{
|
||||||
struct bshell_native_command_p *cmd_p
|
struct bshell_native_command_p *cmd_p
|
||||||
= fx_object_get_private(cmd, BSHELL_TYPE_NATIVE_COMMAND);
|
= fx_object_get_private(cmd, BSHELL_TYPE_NATIVE_COMMAND);
|
||||||
printf("end processing '%s'\n", fx_string_get_cstr(cmd_p->cmd_path));
|
|
||||||
if (cmd_p->cmd_writer_init) {
|
if (cmd_p->cmd_writer_init) {
|
||||||
bshell_value_writer_cleanup(&cmd_p->cmd_writer);
|
bshell_value_writer_cleanup(&cmd_p->cmd_writer);
|
||||||
cmd_p->cmd_writer_init = false;
|
cmd_p->cmd_writer_init = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user