Commit b5e735bd authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

When quiting a program it does not send 'q'. The following process qhould...

When quiting a program it does not send 'q'. The following process qhould detect the pipe closure tio quit
parent f0f5ce7b
......@@ -511,10 +511,11 @@ void blc_program_init(int *argc, char ***argv, void (*exit_cb)(void))
void blc_quit()
{
fprintf(stderr, "Quitting %s\n", blc_program_name);
if (blc_output_terminal==0){
/* Now to quit the other appli should detect that the pipe is closed
* if (blc_output_terminal==0){
printf("q\n");
fflush(stdout);
}
}*/
}
END_EXTERN_C
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment