From d956d6183808fa98b8a4e13607f38db834926fae Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 8 Jun 2018 10:51:22 +0200 Subject: [PATCH] lxc enter: set STDOUT to non-blocking mode --- PVE/APIClient/Commands/lxc.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PVE/APIClient/Commands/lxc.pm b/PVE/APIClient/Commands/lxc.pm index 879d7c3..c60017b 100644 --- a/PVE/APIClient/Commands/lxc.pm +++ b/PVE/APIClient/Commands/lxc.pm @@ -260,6 +260,7 @@ __PACKAGE__->register_method ({ # And set it to non-blocking so we can every char with IO::Select. STDIN->blocking(0); + STDOUT->blocking(0); $web_socket->blocking(0); $read_select->add($web_socket); my $input_fh = \*STDIN; -- 2.39.2