MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / _hx_std_process_kill

Function _hx_std_process_kill

src/hx/libs/std/Process.cpp:561–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

559}
560
561void _hx_std_process_kill( Dynamic handle )
562{
563 vprocess *p = getProcess(handle);
564
565 #ifdef NEKO_WINDOWS
566 TerminateProcess(p->pinf.hProcess, -1);
567 #else
568 kill(p->pid, SIGTERM);
569 #endif
570}
571
572
573

Callers

nothing calls this directly

Calls 1

getProcessFunction · 0.85

Tested by

no test coverage detected