Shellout is not working for me with Beta 41 on Slackware 13.1 x86_64.
Using the same povray.conf and povray.ini it works OK with Povray 3.6.1.
Pre_Scene and Post_Frame are prohibited. Post_Scene is ignored.
Error messages copy/pasted from the command line dialogue (error messages all
displaced twice!):
Rendering frame 1 of 3
Execution of shellout 'echo 'Pre_Scene' > mem.txt && free -m >> mem.txt'
prohibited
Execution of shellout 'echo 'Pre_Scene' > mem.txt && free -m >> mem.txt'
prohibited
Rendering frame 1 of 3
using 2 thread(s) with 0.026 CPU-seconds total
Execution of shellout 'echo 'Post_Frame' >> mem.txt && free -m >> mem.txt'
prohibited
Execution of shellout 'echo 'Post_Frame' >> mem.txt && free -m >> mem.txt'
prohibited
Rendering frame 2 of 3
using 2 thread(s) with 0.017 CPU-seconds total
Execution of shellout 'echo 'Post_Frame' >> mem.txt && free -m >> mem.txt'
prohibited
Execution of shellout 'echo 'Post_Frame' >> mem.txt && free -m >> mem.txt'
prohibited
Rendering frame 3 of 3
using 2 thread(s) with 0.134 CPU-seconds total
Execution of shellout 'echo 'Post_Frame' >> mem.txt && free -m >> mem.txt'
prohibited
Execution of shellout 'echo 'Post_Frame' >> mem.txt && free -m >> mem.txt'
prohibited
POV-Ray finished
This is my povray.ini
Pre_Scene_Command="echo 'Pre_Scene' > mem.txt && free -m >> mem.txt"
Post_Scene_Command="echo 'Post_Scene' >> mem.txt && free -m >> mem.txt"
Post_Frame_Command="echo 'Post_Frame' >> mem.txt && free -m >> mem.txt"
I have set these two lines in povray.conf:
[File I/O Security]
none ; all read and write operations on files are allowed.
[Shellout Security]
allowed
Cheers,
Peter
From: Jim Holsenback
Subject: Re: Shellout prohibited on Beta 41. OK with Povray 3.6.1
Date: 28 Dec 2010 08:55:21
Message: <4d19ec49$1@news.povray.org>
On 12/27/2010 02:56 PM, geep999 wrote:
> Shellout is not working for me with Beta 41 on Slackware 13.1 x86_64.> Using the same povray.conf and povray.ini it works OK with Povray 3.6.1.> > Pre_Scene and Post_Frame are prohibited. Post_Scene is ignored
confirmed using the latest sync
From: Jim Holsenback
Subject: Re: Shellout prohibited on Beta 41. OK with Povray 3.6.1
Date: 2 Jan 2011 10:27:01
Message: <4d209945$1@news.povray.org>
On 12/27/2010 02:56 PM, geep999 wrote:
> Shellout is not working for me with Beta 41 on Slackware 13.1 x86_64.> Using the same povray.conf and povray.ini it works OK with Povray 3.6.1.
this got fixed and it's in the pending release (RC1) :-)