diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-01-27 14:21:21 +0100 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-01-29 20:02:01 +0100 |
commit | 95571ac1e9acd09d0b06b2315aabb0cc4e158572 (patch) | |
tree | 67922f8c1b831d7fce0b083a3fa2d5bdd8664f51 /src/env.h | |
parent | 4dbff090c3ff2ba43b0fbb06cc65bef5b5d81008 (diff) | |
download | android-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.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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, |