Re: Closing a terminal window when a terminal process ends
Re: Closing a terminal window when a terminal process ends
- Subject: Re: Closing a terminal window when a terminal process ends
- From: "Brett K." <email@hidden>
- Date: Wed, 16 Nov 2005 12:12:44 -0500
[2005-11-16 12:02-0500] Maccin wrote:
I want applescript to close the terminal window I opened when
the ssh process ends (when they log out) but I'm not sure how
to do so. Any suggestions are appreciated.
If you add "; exit;" to the end of a shell command, then it will
exit and close the window when the command is complete.
I would try:
do script ("ssh " & clientUsername & "@serverAddressIsHere" & ";
exit;")
Hope that helps.
--
Brett
Thunderbird: Reclaim Your Inbox
<http://www.GetThunderbird.com/>
Firefox: Rediscover the Web
<http://www.GetFirefox.com/>
_______________________________________________
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