This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push: new cbb9c4f8cc Fix airflow db shell needing an extra keypress to exit (#35982) cbb9c4f8cc is described below commit cbb9c4f8ccadd5fbd01a2f0072343764eab03497 Author: Renze Post <renze.p...@gmail.com> AuthorDate: Thu Nov 30 21:28:10 2023 +0100 Fix airflow db shell needing an extra keypress to exit (#35982) --- airflow/utils/process_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/utils/process_utils.py b/airflow/utils/process_utils.py index 15844d9227..18798e85d0 100644 --- a/airflow/utils/process_utils.py +++ b/airflow/utils/process_utils.py @@ -222,7 +222,7 @@ def execute_interactive(cmd: list[str], **kwargs) -> None: # ignore SIGINT in the parent process signal.signal(signal.SIGINT, signal.SIG_IGN) while proc.poll() is None: - readable_fbs, _, _ = select.select([sys.stdin, primary_fd], [], []) + readable_fbs, _, _ = select.select([sys.stdin, primary_fd], [], [], 0) if sys.stdin in readable_fbs: input_data = os.read(sys.stdin.fileno(), 10240) os.write(primary_fd, input_data)