]> git.proxmox.com Git - pve-client.git/blobdiff - PVE/APIClient/Commands/lxc.pm
lxc enter: set STDOUT to non-blocking mode
[pve-client.git] / PVE / APIClient / Commands / lxc.pm
index 879d7c32981023fa2a3a85325ecc088e4fd68c08..c60017b551ebd750236568807d4b62d21e4c7024 100644 (file)
@@ -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;