Jiri Simsa | 5293dcb | 2014-05-10 09:56:38 -0700 | [diff] [blame] | 1 | // Package exec implements simple process creation and rendezvous, including |
Bogdan Caprita | a4d9ee4 | 2014-06-20 16:42:53 -0700 | [diff] [blame] | 2 | // sharing a secret with, and passing arbitrary configuration to, the newly |
| 3 | // created process. |
Jiri Simsa | 5293dcb | 2014-05-10 09:56:38 -0700 | [diff] [blame] | 4 | // |
| 5 | // Once a parent starts a child process it can use WaitForReady to wait |
| 6 | // for the child to reach its 'Ready' state. Operations are provided to wait |
| 7 | // for the child to terminate, and to terminate the child cleaning up any state |
| 8 | // associated with it. |
| 9 | // |
Bogdan Caprita | 1e37913 | 2014-08-03 23:02:31 -0700 | [diff] [blame] | 10 | // A child process uses the GetChildHandle function to complete the initial |
| 11 | // authentication handshake. The child must call SetReady to indicate that it is |
| 12 | // fully initialized and ready for whatever purpose it is intended to fulfill. |
Jiri Simsa | 5293dcb | 2014-05-10 09:56:38 -0700 | [diff] [blame] | 13 | package exec |