Hi, GLOBAL_COMMAND is mentioned as a global variable. But I don't find it. Is it renamed to something else?
eval.c 276-/* Call the YACC-generated parser and return the status of the parse. 277- Input is read from the current input stream (bash_input). yyparse 278: leaves the parsed command in the global variable GLOBAL_COMMAND. 279- This is where PROMPT_COMMAND is executed. */ 280-int -- 310- 311-/* Read and parse a command, returning the status of the parse. The command 312: is left in the globval variable GLOBAL_COMMAND for use by reader_loop. 313- This is where the shell timeout code is executed. */ 314-int execute_cmd.c 373- 374-/* Execute the command passed in COMMAND. COMMAND is exactly what 375: read_command () places into GLOBAL_COMMAND. See "command.h" for the 376- details of the command structure. 377- -- 540- 541-/* Execute the command passed in COMMAND, perhaps doing it asynchronously. 542: COMMAND is exactly what read_command () places into GLOBAL_COMMAND. 543- ASYNCHROUNOUS, if non-zero, says to do this command in the background. 544- PIPE_IN and PIPE_OUT are file descriptors saying where input comes -- Regards, Peng