Re: Panther kills my droplet...
Re: Panther kills my droplet...
- Subject: Re: Panther kills my droplet...
- From: Michael Heinz <email@hidden>
- Date: Tue, 28 Oct 2003 13:14:24 -0500
On Tuesday, October 28, 2003, at 11:29AM, Emmanuel <email@hidden> wrote:
>
I hardly think that here is a solution but is there a reason why you encapsulate the posix path with double quotes rather than single quote using the "quoted form" property?
>
>
Emmanuel
>
I'm not sure what you mean; in UNIX scripting, double quotes and single quotes are usually interchangable, although they have slightly different effects; the quotes are needed because the files may have spaces in their names.
I did verify that the repeat is not the problem; I altered the loop to read:
on open these_items
check_for_x()
set posix_files to ""
repeat with i from 1 to the count of these_items
set this_item to (item i of these_items)
set posix_files to posix_files & " \"" & (POSIX path of this_item) & "\""
end repeat
do shell script ENVIRON & "; gimp-remote-1.2 -n " & posix_files & " >/dev/null 2>&1 &"
end open
(this runs the shell script only once) and the behavior was the same: Gimp starts, all images are loaded, then the droplet hits a SIGBUS.
_______________________________________________
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.