The completion of the parent process does not terminate child?

Start:
sudo -u root bash -c 'cat /dev/random > /dev/null'

Get processes:
root 7301 0.0 0.0 4708 1464 pts/3 S+ 11:01 0:00 sudo -u root bash -c cat /dev/random > /dev/null
root 7302 0.0 0.0 3696 1072 pts/3 S+ 11:01 0:00 bash -c cat /dev/random > /dev/null
root 7303 0.0 0.0 2832 436 pts/3 S+ 11:01 0:00 cat /dev/random


Start:
kill 7301
ps auxww | grep rand


cat is still hanging:
root 7303 0.0 0.0 2832 436 pts/3 S 11:01 0:00 cat /dev/random


Previously I was sure that bash when completed, should complete and child processes.
October 3rd 19 at 04:01
3 answers
October 3rd 19 at 04:03
Solution
kill -7301
man kill: Negative PID values may be used to choose whole process groups; see the PGID column in ps command output.
But rather kill — -7301

Thank you - giovanni.Kling55 commented on October 3rd 19 at 04:06
Now, I have to upstart to tie to the PID transfer - giovanni.Kling55 commented on October 3rd 19 at 04:09
October 3rd 19 at 04:05
October 3rd 19 at 04:07
kill -9 PID

Find more questions by tags bashLinux