how execute shell on mac os x

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
lucacasula91
Posts: 1
Joined: Wed Mar 17, 2010 6:06 pm

how execute shell on mac os x

Post by lucacasula91 » Wed Mar 17, 2010 6:29 pm

hi... i've write in a button shell("killall Dock") but it don't work..
now.. how i launch a shellcommand in mac os x???
thanks

Klaus
Posts: 14206
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: how execute shell on mac os x

Post by Klaus » Wed Mar 17, 2010 6:45 pm

Hi Luca,

"shell" in Rev is a function (as described in the Rev dictionary :wink:) not a command!
So you need to:
...
get shell("killall Dock")
...
OR
...
put shell("killall Dock") into dummy
...


Best

Klaus

NoN'
Posts: 96
Joined: Thu Jul 03, 2008 9:56 pm
Contact:

Re: how execute shell on mac os x

Post by NoN' » Fri Mar 19, 2010 12:45 am

Luca,

take a look at this topic :

http://forums.runrev.com/phpBB2/viewtop ... 963#p22247

I've given some exemples of how to use the shell commands on mac os X under Revo.

Can be very useful !

Renaud

Post Reply