mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Addressed Anton's suggestion to specify the signal sans "SIG" when invoking the kill command, which is technically how it should be specified, though cygwin supports it either way.
This commit is contained in:
parent
37d3d2757e
commit
f5e04ac9f4
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ int main() {
|
|||
if (isCygwin(h[1])) {
|
||||
// Need to issue a kill command
|
||||
wchar_t kill[1024];
|
||||
swprintf(kill, L"kill -SIG%s %d", signal, pi.dwProcessId);
|
||||
swprintf(kill, L"kill -%s %d", signal, pi.dwProcessId);
|
||||
if (!runCygwinCommand(kill)) {
|
||||
// fall back to console event
|
||||
GenerateConsoleCtrlEvent(CTRL_C_EVENT, 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue