• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Really, really simple solution to Terminal window issue...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Make New Window in Terminal...
  • Next by Date: Re: Picking data from a record
  • Previous by thread: Re: Replacing in TextEdit
  • Next by thread: Prevent this double dialog
  • Index(es):
    • Date
    • Thread