Osascript and ssh
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.