Just a thought, maybe we could use os.FindProcess and os.Wait, instead of polling lxc-info? We would have to retrieve the process's command-line to make sure it's the right process. I'm not sure there a golang call for this.

What do you think?