You can use the shell object to submit a Unix command and get back a
result. For instance, if you put the following code in a pushbutton
action event:
dim sh as new shell
dim s as string
sh.execute "ls -l"
s = sh.result
msgbox s
the variable s will contain the (Unix-style) listing of the current
directory.
The Unix command you need to kill your process (instead of ls -l) is
something like
kill -9 xxx
where xxx is the name of the process you want to kill.
If you need more information on the kill command (such as the
parameter -9) you can use the terminal process to call up the Unix
manual pages, through something like
man kill
Note that Unix commands are case-sensitive.
HTH
Russ
On Feb 28, 2006, at 10:12 AM, FreeFL wrote:
| 27/02/06 ~ 20:06 -0500 :
| Russ Jones,
| " Re: Quitting a faceless app "
You could try using the shell object to execute a Unix kill
command aimed at your "faceless" app. Works for OSX as well as Linux.
Russ
Would you show me how ?
Thanks!
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>