do shell script Results?
do shell script Results?
- Subject: do shell script Results?
- From: Marconi <email@hidden>
- Date: Sun, 17 Aug 2003 09:43:22 -0700
I have been given an example of calling a shell script from AS and it
begins like:
do shell script "perl -e ..."
when the perl line is copied and pasted into terminal, the output of
the shell script shows up in Terminal. But when called from AS, where
do the results go? I've tried:
set myresults to do shell script "perl -e.....
But myresult is empty.
Ideally, I'd like the results to go to a file I designate but I'd be
pleased just to get the output into an AS variable.
--
"A man who believes in nothing will fall for anything." -- Malcolm X
_______________________________________________
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.