From: Adrian Aichner [mailto:aichnerï¼ ecf.teradyne.com]
>>>>> "Jonathan" == Jonathan Harris <jhar(a)tardis.ed.ac.uk>
writes:
I cannot interrupt
(apply 'call-process "sleep" nil nil nil (list "30"))
short of using Task Manager to "End Process".
Eh? Why not? You can call TerminateProcess() on the process handle you dig
up via OpenProcess() &/or CreateProcess().
e.g.:
if (!TerminateProcess(hProcess, (UINT)<forced exit code>))
{
<insert error handling here>
}
Bill