POV-Ray : Newsgroups : povray.beta-test : ini option Post_Scene_Command Server Time
31 Jul 2024 10:26:14 EDT (-0400)
  ini option Post_Scene_Command (Message 1 to 2 of 2)  
From: KalleK
Subject: ini option Post_Scene_Command
Date: 5 Sep 2001 16:11:33
Message: <3b9686f5$1@news.povray.org>
Win98 on Athlon 1.4GHz, 512MB DDR-Ram

Adding a Post_Scene_Command to the povray.ini I get sometimes the
message "could not create process" or, using a parameter like %s
to the P_S_Command I get an extra box that says:

The File " was not found.
Make sure, this files exists and path- and filename are correct

(this was translated from a german message, its not exact)
(There is really just an quotationmark as filename.)

I found out that I could reproduce the error with any Ini file.

You have to disable IO Restrictions (set to No Restriction, and
uncheck "Disable Starting Other Programs"), add skyvase.pov to
local path, and a file called test.bat to d:\

--- begin of inifile ---
Post_Scene_Command=d:\test.bat %s
+iskyvase
--- end of file ---

triggeres the error

--- begin of inifile ---
+iskyvase
Post_Scene_Command=d:\test.bat %s--- end of file ---

but the above does not, if there's no carriage return ofter the
second line.
If there's one the error is there.:

--- begin of inifile ---
+iskyvase
Post_Scene_Command=d:\test.bat %s
--- end of file ---

The only way to avoid the error, is to keep the
Post_Scene_Command in the last line of the inifile, and to make
sure there's no ENTER at the end of this command.


Post a reply to this message

From: KalleK
Subject: Re: ini option Post_Scene_Command
Date: 7 Sep 2001 06:24:35
Message: <3b98a063$1@news.povray.org>
I was able to reproduce this error with a
PII 300, 64MB Win98
can anyone confirm this bug?
Or am I missing something obvious?

There's a new aspect to it:
when you include the line
Post_Scene_Return=I
everything is working fine.
If Post_Scene_Command shouldn't work without Post_Scene_Return (I
honestly don't know) it shouldn't work when P_S_C is the last
entry in the ini file (without any ENTER's behind), either.

cukk


Post a reply to this message

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