[ OFFLIST ] Re: Running `expect` from inside AppleScript
[ OFFLIST ] Re: Running `expect` from inside AppleScript
- Subject: [ OFFLIST ] Re: Running `expect` from inside AppleScript
- From: Christopher Stone via AppleScript-Users <email@hidden>
- Date: Thu, 9 Dec 2021 23:28:37 -0600
> On Dec 08, 2021, at 23:58, Jenni via AppleScript-Users
> <email@hidden> wrote:
>
>> The proper syntax would be do script "<your script".
>
> Thanks, Chris. Between your suggestion, and finding a post mentioning
> the use of 3 backslashes instead of a single one, e.g.:
>
> expect \\\"password: \\\"
>
> I got it to work. However, it prints the entire script to the Terminal
> window before processing it, so it looks like this:
Hey Marc,
Do you have a simple example of using expect password that I can test?
Perhaps a simple script to enable sudo?
TIA.
--
Take Care,
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden