summaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-01-27 14:21:21 +0100
committerAnna Henningsen <anna@addaleax.net>2019-01-29 20:02:01 +0100
commit95571ac1e9acd09d0b06b2315aabb0cc4e158572 (patch)
tree67922f8c1b831d7fce0b083a3fa2d5bdd8664f51 /src/env.h
parent4dbff090c3ff2ba43b0fbb06cc65bef5b5d81008 (diff)
downloadandroid-node-v8-95571ac1e9acd09d0b06b2315aabb0cc4e158572.tar.gz
android-node-v8-95571ac1e9acd09d0b06b2315aabb0cc4e158572.tar.bz2
android-node-v8-95571ac1e9acd09d0b06b2315aabb0cc4e158572.zip
src: pass along errors from process obj instantiation
PR-URL: https://github.com/nodejs/node/pull/25734 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gus Caplan <me@gus.host>
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h7
1 files changed, 4 insertions, 3 deletions
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<v8::Context> context);
~Environment();
- void Start(const std::vector<std::string>& args,
- const std::vector<std::string>& exec_args,
- bool start_profiler_idle_notifier);
+ void Start(bool start_profiler_idle_notifier);
+ v8::MaybeLocal<v8::Object> CreateProcessObject(
+ const std::vector<std::string>& args,
+ const std::vector<std::string>& exec_args);
typedef void (*HandleCleanupCb)(Environment* env,
uv_handle_t* handle,