Really, really simple solution to Terminal window issue...
Really, really simple solution to Terminal window issue...
- Subject: Really, really simple solution to Terminal window issue...
- From: David Crowe <email@hidden>
- Date: Sat, 25 Sep 2004 12:00:12 -0600
Title: Really, really simple solution to Terminal window
issue...
It's always interesting how some problems seem really difficult
until you discuss it with others and then suddenly they become
trivial.
My issue with running a script in Terminal was really trying to
avoid lots of windows containing dead 'ssh' processes.
The really, really simple solution is the AppleScript command to
Terminal:
do
script "~/ssh-mail ;
logout"
Then whenever ssh (run by the ~/ssh-mail shell script)
terminates, the logout command kills the Terminal window that it's
running in. Now I don't have to worry about zombie windows.
I tried putting the "logout" in my ssh-mail script, but
you're not allowed to do that.
Thanks to everyone who gave the suggestions that helped me see
how trivial my problem really was!
- David Crowe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden