MCPcopy Create free account
hub / github.com/armory3d/armory / krom_sys_command

Function krom_sys_command

armorcore/Sources/main.cpp:2116–2121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2114 }
2115
2116 void krom_sys_command(const FunctionCallbackInfo<Value> &args) {
2117 HandleScope scope(args.GetIsolate());
2118 String::Utf8Value utf8_cmd(isolate, args[0]);
2119 int result = sys_command(*utf8_cmd);
2120 args.GetReturnValue().Set(Int32::New(isolate, result));
2121 }
2122
2123 void krom_save_path(const FunctionCallbackInfo<Value> &args) {
2124 HandleScope scope(args.GetIsolate());

Callers

nothing calls this directly

Calls 4

sys_commandFunction · 0.85
GetReturnValueMethod · 0.80
GetIsolateMethod · 0.45
SetMethod · 0.45

Tested by

no test coverage detected