mirror of
https://github.com/stablyai/orca.git
synced 2026-10-31 17:17:38 +00:00
* fix(windows): start the WSL holder with only a NUL handle to inherit libuv starts every Windows child with bInheritHandles=TRUE and no handle list, so a detached holder that outlives Orca kept any inheritable handle Orca had open, such as a launcher's pipe or a DevTools socket. Start it through CreateProcessW with PROC_THREAD_ATTRIBUTE_HANDLE_LIST naming one NUL handle for its stdio. The build probes now check the newest export without calling it, and the lane receipt labels ConPTY's own startup output. * fix(windows): report isolated holder exits and kills the way libuv does
18 lines
506 B
Python
18 lines
506 B
Python
{
|
|
"targets": [
|
|
{
|
|
"target_name": "orca_windows_security",
|
|
"sources": ["src/addon.cc", "src/isolated-spawn.cc"],
|
|
"libraries": ["advapi32.lib"],
|
|
"include_dirs": ["<!@(node -p \"require('node-addon-api').include\")"],
|
|
"defines": ["NAPI_DISABLE_CPP_EXCEPTIONS", "UNICODE", "_UNICODE"],
|
|
"msvs_settings": {
|
|
"VCCLCompilerTool": { "ExceptionHandling": 0 }
|
|
},
|
|
"conditions": [
|
|
["OS!='win'", { "sources": [] , "type": "none" }]
|
|
]
|
|
}
|
|
]
|
|
}
|