lxc / ruby-lxc

ruby bindings for liblxc
https://linuxcontainers.org/lxc
GNU Lesser General Public License v2.1
134 stars 29 forks source link

Update README.md #30

Closed fanyeren closed 9 years ago

fanyeren commented 9 years ago

add Process.wait to example script, fix the zombie process problem

ranjib commented 9 years ago

you can pass attach(wait: true) directly. http://www.rubydoc.info/gems/ruby-lxc/LXC/Container#attach-instance_method

andrenth commented 9 years ago

Yeah, wait: true would be the best for this example. It was really a mistake to leave this flag as false by default :(

fanyeren commented 9 years ago

you guys are right, it works!

andrenth commented 9 years ago

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.