Klaus, you might also consider using "open process". This can be useful (depending on the shell command you're using) because you can then set up a non-blocking send in time loop to monitor progress and get the output.

Best,

Mark
On 20 Aug 2008, at 10:53, Klaus Major wrote:

Hi all,

I just found this gem in the Rev docs:
"Tip: The shell function blocks Revolution until it is completed. If you want to run a shell command in the background, write the shell script to a text file then execute it with the
launch command."

But cannot get it to work.

What I did:
1. put the tempname & ".sh" into shell_file
I think "sh" is the correct suffix, since the FInder show the "SHELL" icon for this file.
2. set the filetype to ""
3. wrote the correct shell command to url("file:" & shell_file)
4. Tried:
launch shell_file  ## seems to be the right syntax but see below...
launch document shell_file
and even:
launch shell_file with "/usr/bin"

No chance.

Then I tried to execute the file directly in the terminal and got:
Permission denied

What can I do to get it to work in Rev?

Thanks in advance!


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to