| Index: runtime/bin/process_fuchsia.cc
|
| diff --git a/runtime/bin/process_fuchsia.cc b/runtime/bin/process_fuchsia.cc
|
| index 865ce0c387362faf2bc9119e6dad83d5ad5699e1..e766131fc7d99abda1d413838b3690cfcf39fa19 100644
|
| --- a/runtime/bin/process_fuchsia.cc
|
| +++ b/runtime/bin/process_fuchsia.cc
|
| @@ -740,12 +740,12 @@ class ProcessStarter {
|
| // Set up the launchpad.
|
| launchpad_t* lp = NULL;
|
| launchpad_create(job, program_arguments_[0], &lp);
|
| - launchpad_arguments(lp, program_arguments_count_, program_arguments_);
|
| - launchpad_environ(lp, program_environment_);
|
| - launchpad_clone_mxio_root(lp);
|
| + launchpad_set_args(lp, program_arguments_count_, program_arguments_);
|
| + launchpad_set_environ(lp, program_environment_);
|
| + launchpad_clone(lp, LP_CLONE_MXIO_ROOT);
|
| // TODO(zra): Use the supplied working directory when launchpad adds an
|
| // API to set it.
|
| - launchpad_clone_mxio_cwd(lp);
|
| + launchpad_clone(lp, LP_CLONE_MXIO_CWD);
|
| launchpad_add_pipe(lp, &write_out_, 0);
|
| launchpad_add_pipe(lp, &read_in_, 1);
|
| launchpad_add_pipe(lp, &read_err_, 2);
|
|
|