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.
-----Original Message-----
From: Michael Lim Shek Sia <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: 12 August 1999 03:30
Subject: [newbie] bash scripts
>If I write a BASH script file which initiates a program, say ghostview.
>And I want
>to read a number of files in sequence, so ideally I would like to close the
>ghostview
>within the Script file. How do I control a program within the script file
>?
>
>michael lim
>
>