"Andrew Kezys" <[EMAIL PROTECTED]> wrote: > So, when I'm running the shell script that calls on this python script > and end it with ctrl-c, it only ends the shell script, and not the > python script, which continues putting serial data to a file.
Ctrl-C should be sending SIGINT to both bash and python. python will process SIGINT by throwing a KeyboardInterrupt exception. Have you checked to see how that exception is handled in your script? If it's begin caught and ignored, that's the best place to fix it. paul _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash