From 95571ac1e9acd09d0b06b2315aabb0cc4e158572 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Sun, 27 Jan 2019 14:21:21 +0100 Subject: src: pass along errors from process obj instantiation PR-URL: https://github.com/nodejs/node/pull/25734 Reviewed-By: James M Snell Reviewed-By: Gus Caplan --- src/env.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/env.h') diff --git a/src/env.h b/src/env.h index 6878f725bf..0d44c77418 100644 --- a/src/env.h +++ b/src/env.h @@ -612,9 +612,10 @@ class Environment { v8::Local context); ~Environment(); - void Start(const std::vector& args, - const std::vector& exec_args, - bool start_profiler_idle_notifier); + void Start(bool start_profiler_idle_notifier); + v8::MaybeLocal CreateProcessObject( + const std::vector& args, + const std::vector& exec_args); typedef void (*HandleCleanupCb)(Environment* env, uv_handle_t* handle, -- cgit v1.2.3