[pve-devel] [PATCH pve-client 7/7] lxc enter: set STDOUT to non-blocking mode

Dietmar Maurer dietmar at proxmox.com
Fri Jun 8 11:25:57 CEST 2018


Signed-off-by: Dietmar Maurer <dietmar at proxmox.com>
---
 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 f981c11..6d06704 100644
--- a/PVE/APIClient/Commands/lxc.pm
+++ b/PVE/APIClient/Commands/lxc.pm
@@ -261,6 +261,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.11.0



More information about the pve-devel mailing list