about summary refs log tree commit diff
path: root/library/std/src/sys/unix/process/process_fuchsia.rs
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2020-09-21 11:32:06 -0700
committerEric Huss <eric@huss.org>2020-09-26 18:58:38 -0700
commitc297e20e03452c659b6d3f026ce4beee42ed8738 (patch)
tree0c20b7dc582d780b8a00cdbb2965767b24cf3ce9 /library/std/src/sys/unix/process/process_fuchsia.rs
parent623fb90b5a1f324e0ec44085116bf858cef19a00 (diff)
downloadrust-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.rs2
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,