[etoys-dev] HELP - At Google Hackfest and need some quick code for a contest

Bert Freudenberg bert at freudenbergs.de
Thu Dec 1 19:36:40 EST 2011

On 01.12.2011, at 22:56, Steve Thomas wrote:

> How can I call execute a shell script (ie: python script) from within Etoys.
> I am using the image export tools, and have a python script to upload the images from the book to Picasa and create a Google Doc, for comments and review.
> Quick piece of code would be great.

You can't, easily. That's the point of the Etoys security sandbox. Otherwise, any project you download could execute any command on your machine, including wiping your disk, or uploading your data to some random web server.

You would be much better off asking this over on the Squeak list ... Squeak normally ships with the OSProcess plugin, but not Etoys. You could install it (UnixOSProcessPlugin.bundle from a Mac 4.2.x VM should be compatible with the Mac Etoys VM), and also install the OSProcess package. That lets you call external programs:

- Bert -

More information about the etoys-dev mailing list