use of terminal commands OSX
Posted: Thu Apr 11, 2013 9:38 am
Hi everyone,
I'm a new to LiveCode, and i try to build a little app for OSX, based on terminal commands.
I try to create a "purge" script, but i don't know very well the language.
On Terminal, the command is simple: purge (What else ?)
But on LiveCode, i create a button, with this code:
on mouseUp
shell("purge")
set the shellCommand to "purge"
end mouseUp
I try two shell commands, but does not work.
Thanks you in advance for you help.
I'm a new to LiveCode, and i try to build a little app for OSX, based on terminal commands.
I try to create a "purge" script, but i don't know very well the language.
On Terminal, the command is simple: purge (What else ?)
But on LiveCode, i create a button, with this code:
on mouseUp
shell("purge")
set the shellCommand to "purge"
end mouseUp
I try two shell commands, but does not work.
Thanks you in advance for you help.