Terminating a PtTty process

Does anyone know how you can terminate a process that is running on a PtTty widget? I have just been calling PtDestroyWidget() function on the PtTty widget but I feel there is probably a more controlled way of doing this.


Couldn’t you get the process ID from Pt_ARG_TTY_PID and use it and kill() to send a signal to the process?

Cheers stever, Its always the simple answers that i miss lol.

Thanks again.