Iain Patterson
|
94d25a5dcf
Use QueryFullProcessImageName() if available.
|
6 years ago |
Iain Patterson
|
586ea54f69
Command to show processes started by the service.
|
6 years ago |
Iain Patterson
|
b6d5dc93f2
Added get_debug_token().
|
6 years ago |
Iain Patterson
|
d06a30c2b9
Abstract kill_process_tree().
|
6 years ago |
David Bremner
|
eed3860f97
CreateToolhelp32Snapshot returns INVALID_HANDLE_VALUE on failure https://msdn.microsoft.com/en-us/library/windows/desktop/ms682489(v=vs.85).aspx
|
7 years ago |
Iain Patterson
|
1b415c7169
Compiler food.
|
7 years ago |
Iain Patterson
|
76673b917b
Technically we should stop ignoring Control-C.
|
7 years ago |
Iain Patterson
|
b6f7fe3b11
Use CRLF consistently.
|
7 years ago |
Iain Patterson
|
c62455090e
Refactor kill functions to be independent of services.
|
8 years ago |
Iain Patterson
|
2e11a962a0
Terminate the correct process.
|
8 years ago |
Iain Patterson
|
26485566b2
Kill process tree from the top down.
|
9 years ago |
Iain Patterson
|
8663869ce7
Ensure we have a valid service exit time.
|
9 years ago |
Iain Patterson
|
11226a6ddf
Send Control-C to the right window.
|
9 years ago |
Iain Patterson
|
c03d51cbbf
Allocate new console by default.
|
9 years ago |
Iain Patterson
|
54438652fa
Allocate a new console for stdin.
|
9 years ago |
Iain Patterson
|
e3b93d0c37
Moved environment functions to a new file.
|
9 years ago |
Iain Patterson
|
fa2f3fe4a8
Fake stdin for applications which exit on EOF.
|
9 years ago |
Iain Patterson
|
2994e17c24
Adjust buffer sizes.
|
9 years ago |
Iain Patterson
|
135329c079
Added test_environment().
|
9 years ago |
Iain Patterson
|
5b9e64a9ae
Allow compiling as a Unicode application.
|
9 years ago |
Iain Patterson
|
fce252d07b
Pass parameters around in a data structure.
|
9 years ago |
Iain Patterson
|
99c5c2868f
Use await_shutdown().
|
9 years ago |
Iain Patterson
|
cb571db509
Allow overriding time to wait when trying to kill the application.
|
9 years ago |
Iain Patterson
|
64eea0aef7
Typos and formatting etc.
|
9 years ago |
Iain Patterson
|
e42e6900a5
AttachConsole() isn't available in Windows 2000.
|
9 years ago |
Iain Patterson
|
ce9eb5d464
Compiler food.
|
9 years ago |
Iain Patterson
|
23b8173ce0
Skip some or all methods of stopping the application.
|
9 years ago |
Iain Patterson
|
a7ad3a9d29
Fixed Control-C race.
|
9 years ago |
Iain Patterson
|
b841998b63
Try to send Control-C event to application console.
|
10 years ago |
Iain Patterson
|
9884e23141
Fixed crash when stopping the service.
|
10 years ago |