After opening a pipe to a process with popen, is there a way to kill the process that has been started? (Using pclose is not what I want because th
popen
pclose
I simply put in the (bash) script, in the first line:
echo PID $$
then I read the pid, and use it to do a : kill(pid,9)