• 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
Osascript and ssh
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Osascript and ssh


  • Subject: Osascript and ssh
  • From: Nigel Smith <email@hidden>
  • Date: Wed, 28 Apr 2004 10:20:42 +0100

Guys,

I'm trying to do the following from the command line:

ssh username@127.0.0.1 osascript -e 'return 2+2'

...but it fails. Indeed, any script entered using the "-e" flag will fail,
though substituting that with a text file is fine.

I'm wondering if there is a conflict because both ssh and osascript use the
"-e" flag? Can anyone suggest a way round this *without* sending the
osascript commands as a text file?

TIA,

Nigel
_______________________________________________
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: Osascript and ssh
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Blank CD - Run Script?
  • Next by Date: Re: Osascript and ssh
  • Previous by thread: Blank CD - Run Script?
  • Next by thread: Re: Osascript and ssh
  • Index(es):
    • Date
    • Thread