> Store the process id of the ghostview. You can send signal to the
> process for termination using kill. But this kills the process abruptly
> and many of cleanup operation by the process would not be done.

I believe you can send a termination signal rather than a kill signal.  I
don't know what the `kill` command sends by default (too lazy to read the
man page), but I think if you do `kill -TERM <pid>` the process should 
terminate, after doing whatever cleanup it needs- assuming it recognizes
the TERM signal.

 -Matt Stegman 
 <[EMAIL PROTECTED]>

Reply via email to