POV-Ray : Newsgroups : povray.general : Shell-outs : Re: Shell-outs Server Time
20 Sep 2021 21:15:18 EDT (-0400)
  Re: Shell-outs  
From: Mr
Date: 31 Mar 2021 09:40:00
Message: <web.60647b40e8422dbf6adeaecb3f378f2@news.povray.org>
ingo <ing### [at] tagpovrayorg> wrote:
> in news:6061ffb6$1@news.povray.org William F Pokorny wrote:
>
> > Unsure if this any help to you
> > on windows.
>
> Not at all, but that's fine :)
> I write a file from the scene but render nothing. Then I want to convert
> the file. I just stuck the commandline behind the Post_Scene_Command=..
> Nothing happens, no error, no result.
>
> First I thought is because I use the No Image INI-option, as that results
> in a Render failed message. Redering an image changes nothing.
>
> Starting other programms is not disabled.
>
> Ingo

Hello,
First
I am assuming you read docs and already did uncheck the menu entry
Options > Script I/O Restrictions > Disable Starting Other Programs
as opposed to the default setting and advised here:
http://www.povray.org/documentation/view/3.6.1/221/

"Note: individual platforms may provide means of preventing shell-outs from
occurring. For example, the Windows version provides a menu command to turn
shell-outs off (which is the default setting for that platform). The reason for
this (along with file I/O restrictions) is to attempt to prevent untrusted INI
files from doing harm to your system. "

So Secondly, as this thread also suggests/
http://news.povray.org/povray.newusers/thread/%3CX### [at] 204213191226%3E/

....have you checked the program you wish to run is indeed in Windows environment
path? (For command shell, C:\Windows\System32\cmd.exe) so you can call it in
your ini file just by "cmd[(.exe?)]" and not full path


Third and Lastly, if all else failed,
Though this feature looks very powerful and user friendly... Have you considered
switching to another command language like python/Lua/whatever you please for
the whole ini writing + render launching wrap up? (personally I had to learn
Python because it's the scripting language embedded in Blender from within which
I launch and post handle back pov rendered images (but off-topic, Lua does look
much closer to POV in syntax doesn't it?)


Post a reply to this message

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.