1.1 --- a/libexec/lib/src/process_creator_resource.cc Sat Feb 25 23:39:51 2023 +0100
1.2 +++ b/libexec/lib/src/process_creator_resource.cc Sun Feb 26 18:43:52 2023 +0100
1.3 @@ -65,16 +65,9 @@
1.4
1.5 const char *argv[] = {"<program>"};
1.6
1.7 - long err = _creating.start(program_file, 1, argv);
1.8 -
1.9 - if (err)
1.10 - return err;
1.11 + /* Start the new process, obtaining a reference to it. */
1.12
1.13 - /* Obtain a reference to the pager to interact with the process. */
1.14 -
1.15 - *process = _creating.get_pager();
1.16 -
1.17 - return L4_EOK;
1.18 + return _creating.start(program_file, 1, argv, process);
1.19 }
1.20
1.21 // vim: tabstop=4 expandtab shiftwidth=4