Re: shell script with stdin from Applescript...
Re: shell script with stdin from Applescript...
- Subject: Re: shell script with stdin from Applescript...
- From: John Delacour <email@hidden>
- Date: Thu, 3 Jul 2003 01:19:04 +0100
- Mac-eudora-version: 6.0a25
At 5:16 pm -0600 2/7/03, David Crowe wrote:
I want to run a shell script with input to be created by an
applescript, something like:
do shell script "/usr/bin/unixapp <<$
line 1
line 2
line 3
$"
I can get this (the part in quotes, obviously) working fine in
Terminal, but I get an "fread error 0" when trying this from
AppleScript.
I've tried placing a backslash at the end of the lines, but the
Applescript compiler just removes them.
Are you putting semi-colons at the end of the lines? What is the
_actual_ script you're having problems with?
JD
_______________________________________________
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.