"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
Not exactly a bug, perse. An oddity, however.
I am writing some code in bash that will execute a python script, and
carry on with some user input. Obivously, I called the python command
through something like ( python test.py test.txt ) in order for it to
be a process. However, this test.py progr