File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -740,12 +740,12 @@ class ProcessStarter {
740
740
// Set up the launchpad.
741
741
launchpad_t * lp = NULL ;
742
742
launchpad_create (job, program_arguments_[0 ], &lp);
743
- launchpad_arguments (lp, program_arguments_count_, program_arguments_);
744
- launchpad_environ (lp, program_environment_);
745
- launchpad_clone_mxio_root (lp);
743
+ launchpad_set_args (lp, program_arguments_count_, program_arguments_);
744
+ launchpad_set_environ (lp, program_environment_);
745
+ launchpad_clone (lp, LP_CLONE_MXIO_ROOT );
746
746
// TODO(zra): Use the supplied working directory when launchpad adds an
747
747
// API to set it.
748
- launchpad_clone_mxio_cwd (lp);
748
+ launchpad_clone (lp, LP_CLONE_MXIO_CWD );
749
749
launchpad_add_pipe (lp, &write_out_, 0 );
750
750
launchpad_add_pipe (lp, &read_in_, 1 );
751
751
launchpad_add_pipe (lp, &read_err_, 2 );
You can’t perform that action at this time.
0 commit comments