Revision d5d76ab2
ID | d5d76ab2e02109d556bc7be837a1c46225982494 |
Parent | feec4cc5 |
Child | 5484cda5 |
RunCmd: Support standard input file descriptor
This patch changes “utils.RunCmd” to accept a file-like object or a
numeric file descriptor which will be used as the command's standard
input. One use-case will be to pass all necessary data to
“prepare-node-join”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Files
- added
- modified
- copied
- renamed
- deleted