Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes when trying to send signal to a CMD started process #5

Open
BullyWiiPlaza opened this issue Jul 29, 2019 · 1 comment
Open

Comments

@BullyWiiPlaza
Copy link

BullyWiiPlaza commented Jul 29, 2019

I'm starting my main application with the following command:
C:\WINDOWS\system32\cmd.exe /c start /min /"Main-Application\" /high /b MyProcess.exe

When I invoke windows-kill to send a CTRL + C to a process spawned by MyProcess it crashes windows-kill at the following location:

Exception thrown at 0x00007FFE8B8853F5 (KernelBase.dll) in windows-kill.exe: 0x40010005: Control-C.

image

This is especially nasty since it caused a hang of the application because it waits for windows-kill's completion.

Can this be fixed? If not, maybe you can suggest me an alternative way of sending a CTRL + C button press to a process on Windows. I'm using Java 8's ProcessBuilder though.

@puigru
Copy link

puigru commented Aug 17, 2020

I'm seeing the exact same behavior. Complete showstopper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants