I wish to launch a script on a collection of containers. pct exec seems to do what I want. Except I want to background my script and have the pct exec finish immediately. I tried just adding an & (ampersand) but when the pct exec finishes, it terminates the backgrounded script. I have now tried with the daemonize utility from http://software.clapper.org/daemonize/ and still my scripts seem to be terminated as soon as pct exec finishes. There is very little documentation I can find on precisely what/how pct exec works - and, in particular, what are the implications on spawned processes when the exec returns control flow back to the host. Any pointers would be appreciated.