Closed fanyeren closed 9 years ago
you can pass attach(wait: true) directly. http://www.rubydoc.info/gems/ruby-lxc/LXC/Container#attach-instance_method
Yeah, wait: true
would be the best for this example. It was really a mistake to leave this flag as false by default :(
you guys are right, it works!
If you want, make a pull request for README to add wait: true to the attach call. This issue has come up more than once...
On Fri, Mar 6, 2015 at 10:14 AM, 有张纸 notifications@github.com wrote:
you guys are right, it works!
— Reply to this email directly or view it on GitHub https://github.com/lxc/ruby-lxc/pull/30#issuecomment-77556548.
add Process.wait to example script, fix the zombie process problem