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

After ctrl +c running command is not stopped #56

Open
at15 opened this issue Oct 16, 2016 · 0 comments
Open

After ctrl +c running command is not stopped #56

at15 opened this issue Oct 16, 2016 · 0 comments
Labels
Milestone

Comments

@at15
Copy link
Member

at15 commented Oct 16, 2016

ie: when running latex using Ayi's command runner, latex encounter an invalid syntax and I hit ctrl+c to stop. It seems Ayi has excited, but latex is still running, because when you enter other command you will see latex's error message

$ Type <return> to proceed, S to scroll future error messages,
R to run without stopping, Q to run quietly,
I to insert something, E to edit your file,
1 or ... or 9 to ignore the next 1 to 9 tokens of input,
H for help, X to quit.
?

I guess os/exec start a new process using fork+exec style, and that process is a child process, when ctrl+c terminate the parent process, it does not send any signal to the child, so it can not be reaped? or just silently runs in background?

@at15 at15 added the type/bug label Oct 16, 2016
@at15 at15 added this to the 0.0.4 milestone Dec 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant