diff --git a/execute_cmd.c b/execute_cmd.c index def409f..9e17386 100644 --- a/execute_cmd.c +++ b/execute_cmd.c @@ -588,6 +588,13 @@ execute_command_internal (command, asynchronous, pipe_in, pipe_out, if (command->type == cm_subshell && (command->flags & CMD_NO_FORK)) return (execute_in_subshell (command, asynchronous, pipe_in, pipe_out, fds_to_close)); +#if defined (COMMAND_TIMING) + if (command->type == cm_subshell && command->flags & CMD_TIME_PIPELINE) + { + return time_command (command, asynchronous, pipe_in, pipe_out, fds_to_close); + } +#endif /* COMMAND_TIMING */ + #if defined (COPROCESS_SUPPORT) if (command->type == cm_coproc) return (execute_coproc (command, pipe_in, pipe_out, fds_to_close));