Skip to content

Commit

Permalink
doot
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftkey committed Feb 3, 2025
1 parent e6ec56c commit 92f1254
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ Napi::Value SpawnAsAdmin(const Napi::CallbackInfo& info) {
return env.Undefined();
}

printf("command argument: %s\n", js_arg.As<Napi::String>().c_str());
std::string arg = js_arg.As<Napi::String>();

printf("command argument: %s\n", arg.c_str());

args.push_back(js_arg.As<Napi::String>());
}
Expand Down

0 comments on commit 92f1254

Please sign in to comment.