• 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
Re: Running VPN client...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Running VPN client...
      • From: Christopher Nebel <email@hidden>
    • AppleScript and Networks
      • From: Jason Bourque <email@hidden>
References: 
 >Running VPN client... (From: David Crowe <email@hidden>)

  • Prev by Date: Re: open location..
  • Next by Date: Apple Remote Events (eppc) and OS X server
  • Previous by thread: Running VPN client...
  • Next by thread: AppleScript and Networks
  • Index(es):
    • Date
    • Thread