Quoting Valeriy Solovyov ([email protected]): > Hi all, > > I am using python to start container: > cmd = "lxc-start -n %s -d " % CT_ID > handler = subprocess.Popen( > cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) > stdout, stderr = handler.communicate() > returncode = handler.returncode > > After that the behavior of terminal changes and I need to run command: > reset. > > Also I am using python wrapper(https://github.com/frougon/pythondialog) for > dialog and when I make dialog guage like in this example > https://github.com/frougon/pythondialog/blob/master/examples/demo.py#L740 > it is freezing after gauge_stop() > https://github.com/frougon/pythondialog/blob/master/dialog.py#L2550 > > If I don't use lxc-start it's ok.
I'd recommend using the python bindings: import lxc c = lxc.Container(CT_ID) c.start() _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
