Under Linux Ubuntu operating system, I run the test.py scrip which contain a GObject loop using subprocess by: 
subprocess.call(["test.py"])
Now, this test.py will creat process. Is there a way to kill this process in Python?
Note: I don't know the process ID.
I am sorry if I didn't explain my problem very clearly as I am new to this forms and new to python in general.
 
     
     
     
    