mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-23 13:01:42 -08:00
external process: we are using handle, not a pointer
This commit is contained in:
parent
ea001f5b63
commit
fb0359eda1
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ ecl_waitpid(cl_object pid, cl_object wait)
|
|||
int ret;
|
||||
#if defined(ECL_MS_WINDOWS_HOST)
|
||||
HANDLE *ph = (HANDLE*)ecl_foreign_data_pointer_safe(pid);
|
||||
ret = TerminateProcess(ph, -1);
|
||||
ret = TerminateProcess(*ph, -1);
|
||||
error_encountered = (ret == 0);
|
||||
#else
|
||||
ret = kill(ecl_fixnum(pid), Null(force) ? SIGTERM : SIGKILL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue