diff options
| author | Eric Huss <eric@huss.org> | 2020-09-21 11:32:06 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2020-09-26 18:58:38 -0700 |
| commit | c297e20e03452c659b6d3f026ce4beee42ed8738 (patch) | |
| tree | 0c20b7dc582d780b8a00cdbb2965767b24cf3ce9 /library/std/src/sys/unix/process/process_fuchsia.rs | |
| parent | 623fb90b5a1f324e0ec44085116bf858cef19a00 (diff) | |
| download | rust-c297e20e03452c659b6d3f026ce4beee42ed8738.tar.gz rust-c297e20e03452c659b6d3f026ce4beee42ed8738.zip | |
Add accessors to Command.
Diffstat (limited to 'library/std/src/sys/unix/process/process_fuchsia.rs')
| -rw-r--r-- | library/std/src/sys/unix/process/process_fuchsia.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/process/process_fuchsia.rs b/library/std/src/sys/unix/process/process_fuchsia.rs index fab27cd9f70..b64636c3f3d 100644 --- a/library/std/src/sys/unix/process/process_fuchsia.rs +++ b/library/std/src/sys/unix/process/process_fuchsia.rs @@ -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, |
