Re: Running VPN client...
Re: Running VPN client...
- Subject: Re: Running VPN client...
- From: Emmanuel <email@hidden>
- Date: Fri, 11 Jul 2003 19:06:28 +0200
At 9:00 AM -0600 11/07/03, David Crowe wrote:
>
Thanks to Loukas' suggestion, I was able to get the CISCO VPN client
>
running with the following statement:
>
>
>
do shell script "echo \"echo y | /usr/local/bin/vpnclient connect
>
myprofile user username pwd " & thePassword & "\" | login -f $USER"
>
>
>
However that "do shell script" doesn't exit, which means that I can't
>
include it in a script that wants to do some things once the VPN is
>
running.
>
>
>
Does anyone have any suggestions of how to incorporate this into a
>
script which does stuff before and afterwards? I have made it into a
>
Script App, but just don't know how to call it. I can't use "ignoring
>
application responses" or "with timeout of" either, because "run
>
script" never exits, so the calling script waits anyway.
I think that if you append " &" to the command, "do shell script" will return immediately.
(I am no specialist)
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.