Shell object

Jazz's icon

I'm trying to start an application using the shell object. To start this application in the terminal window, it looks like this:

ben-harveys-powerbook-g4-12:~ benharvey$ cd /Volumes/motion
ben-harveys-powerbook-g4-12:/Volumes/motion benharvey$ chmod 777 motion
ben-harveys-powerbook-g4-12:/Volumes/motion benharvey$ ./motion powerbook 100000

Could anyone please let me know what messages to send to the shell object in max/msp to do this?

Thanks very much,

Jazz

Emmanuel Jourdan's icon

Hi

Did you try that ?

/Volumes/motion/motion powerbook 100000

Why do you have to change the permission each time you want to lunch
the application?

HTH,
ej

Wesley Smith's icon

My advice would be to write a bash script that does this. I think the
shell object can only execute single commands. If you made a script,
you can probably get around that limitation.

wes