Re: Do shell and ssh
Re: Do shell and ssh
- Subject: Re: Do shell and ssh
- From: Doug McNutt <email@hidden>
- Date: Thu, 6 Apr 2006 15:07:58 -0600
At 14:05 -0600 4/6/06, Gnarlodious wrote:
>Allegedly there is an app out there that allows scripts to interact with the
>shell. I think it is called Expect.
Expect is an addition to Tcl. Tcl (pronounced tickle) is a scripting addition that operates under a shell and extends the scripting language. Expect allows you to wait for an expected reply from a remote host, password? for instance, as applied to ssh. Raw FTP involves a lot of that.
Because Do Shell Script starts up a new shell each time it is executed I doubt that Tcl or Expect can contribute much. Do Script as a command to Terminal.app is another thing and there are AppleScriptable commands to name a Terminal window so that you can come back to it after doing some other work in AppleScript. You can define variables and arguments that will stay around.
--
--> From the U S of A, the only socialist country that refuses to admit it. <--
_______________________________________________
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