Using shell script to launch external apps from OF

came across a problem where i had to get OF to launch an external application.
thought id post the source for anyone doing something similar.

im getting OF to call a shell script which in turn launches another application.
you can do a lot with shell script.

the idea is to create a menu system for my interactive apps.

http://julapy.com/source/shellScript-Example.zip

L.

2 Likes

is this working ?

works after placing the code in a recent empty project file.

work only on mac. windows doesn’t have a fork()