mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-18 23:32:17 -08:00
terminate-process: improve error message
This commit is contained in:
parent
828b2b482a
commit
115b52f9f5
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@
|
|||
(process pid) (:object :object) :void
|
||||
"HANDLE *ph = (HANDLE*)ecl_foreign_data_pointer_safe(#1);
|
||||
int ret = TerminateProcess(*ph, -1);
|
||||
if (ret == 0) FEerror(\"Cannot terminate the process ~A\", 1, #0);")
|
||||
if (ret == 0) FEwin32_error(\"Cannot terminate the process ~A\", 1, #0);")
|
||||
#-windows
|
||||
(unless (zerop (si:killpid pid (if force +sigkill+ +sigterm+)))
|
||||
(error "Cannot terminate the process ~A" process))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue