- Dec
- 35
- 0
Hello folks!
I still use 4NT ver 5,00U on Win-10 w/o much problems.
And since there's no "4NT group", I hope it's OK to post here.
I wrote a little test.bat to test some client / server programs for Rustls-FFI:
@echo off
setlocal
on break quit
set NO_CHECK_CERTIFICATE=1
set VECTORED_IO=1
set LOCAL_TEST=
iff %1. == local. then
set LOCAL_TEST=1
detach "target\server.exe localhost/cert.pem localhost/key.pem 2> server.log"
delay 2
target\client.exe localhost 8443 /
target\client.exe localhost 8443 /
target\client.exe localhost 8443 /
target\client.exe localhost 8443 /
delay 2
:: Neither of these works:
:: taskkill /PID %_detachpid
taskend /F %_detachpid
:: f:\Cygwin32\bin\kill --force --winpid %_detachpid
quit
endiff
Running test.bat local > log, I get the "The process ID is 12300" message in log.
But the process-tree is not removed at the end by any of the above task-killers commands.
I have to use Process Explorer and kill the detached 4NT.exe + server.exe zombie processes. Quite annoying.
Is it possible by some other means?
I still use 4NT ver 5,00U on Win-10 w/o much problems.
And since there's no "4NT group", I hope it's OK to post here.
I wrote a little test.bat to test some client / server programs for Rustls-FFI:
@echo off
setlocal
on break quit
set NO_CHECK_CERTIFICATE=1
set VECTORED_IO=1
set LOCAL_TEST=
iff %1. == local. then
set LOCAL_TEST=1
detach "target\server.exe localhost/cert.pem localhost/key.pem 2> server.log"
delay 2
target\client.exe localhost 8443 /
target\client.exe localhost 8443 /
target\client.exe localhost 8443 /
target\client.exe localhost 8443 /
delay 2
:: Neither of these works:
:: taskkill /PID %_detachpid
taskend /F %_detachpid
:: f:\Cygwin32\bin\kill --force --winpid %_detachpid
quit
endiff
Running test.bat local > log, I get the "The process ID is 12300" message in log.
But the process-tree is not removed at the end by any of the above task-killers commands.
I have to use Process Explorer and kill the detached 4NT.exe + server.exe zombie processes. Quite annoying.
Is it possible by some other means?