Add accessors to Command.

This commit is contained in:
Eric Huss
2020-09-21 11:32:06 -07:00
parent 623fb90b5a
commit c297e20e03
8 changed files with 303 additions and 8 deletions

View File

@@ -120,7 +120,7 @@ impl Command {
| FDIO_SPAWN_CLONE_NAMESPACE
| FDIO_SPAWN_CLONE_ENVIRON // this is ignored when envp is non-null
| FDIO_SPAWN_CLONE_UTC_CLOCK,
self.get_program().as_ptr(),
self.get_program_cstr().as_ptr(),
self.get_argv().as_ptr(),
envp,
actions.len() as size_t,