"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 p
"Andrew Kezys" <[EMAIL PROTECTED]> writes:
> Is there any command that will kill bash script-assosciated processes
> in a kind way (ie ctrl-c) when the overall script is ended?
Use a trap on EXIT to do any cleanup you need.
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Pr