I have recently upgraded POV-Ray for Windows from 3.6.1 to 3.6.2 (32-bit
edition). Batch scripts that worked perfectly fine in the past now give me
this error message:
Commandline processing error
Only /EDIT and /RENDER may be passed to previous instance
Here is a sample script:
________________________________________________________________
: Options | Keep Single Instance must be OFF.
:
setlocal
set PATH=%PATH%;"C:\Program Files\POV-Ray for Windows v3.6\bin"
:
time /t
start /w pvengine /nr /exit +a +r3 -j +igamma +ogamma10 display_gamma=1.0
start /w pvengine /nr /exit +a +r3 -j +igamma +ogamma14 display_gamma=1.4
start /w pvengine /nr /exit +a +r3 -j +igamma +ogamma16 display_gamma=1.6
start /w pvengine /nr /exit +a +r3 -j +igamma +ogamma18 display_gamma=1.8
start /w pvengine /nr /exit +a +r3 -j +igamma +ogamma20 display_gamma=2.0
start /w pvengine /nr /exit +a +r3 -j +igamma +ogamma22 display_gamma=2.2
start /w pvengine /nr /exit +a +r3 -j +igamma +ogamma24 display_gamma=2.4
start /w pvengine /nr /exit +a +r3 -j +igamma +ogamma26 display_gamma=2.6
start /w pvengine /nr /exit +a +r3 -j +igamma +ogamma30 display_gamma=3.0
time /t
pause
:
endlocal
________________________________________________________________
I tried the following variations and got the same error:
start /w pvengine /nr /exit /render gamma.pov +a +r3 -j +ogamma10
display_gamma=1.0
start /w pvengine /nr /exit /render gamma.pov +igamma +a +r3 -j
+ogamma10 display_gamma=1.0
Am I missing something?
I'm running Windows XP Media Center Edition version 2002 SP3.
TIA.
From: Chris Cason
Subject: Re: Cannot run POV-Ray from Windows batch scripts
Date: 21 Jun 2009 01:49:59
Message: <4a3dca07@news.povray.org>
Cousin Ricky wrote:
> I have recently upgraded POV-Ray for Windows from 3.6.1 to 3.6.2 (32-bit> edition). Batch scripts that worked perfectly fine in the past now give me> this error message:> > Commandline processing error> Only /EDIT and /RENDER may be passed to previous instance
Sounds like you've already got a copy running and don't have "allow
multiple instances" set in the options.
-- Chris
Chris Cason <del### [at] deletethistoopovrayorg> wrote:
>> Sounds like you've already got a copy running and don't have "allow> multiple instances" set in the options.
I have Keep Single Instance unchecked. I keep an interactive POV session
running so that the /NR from the batch script doesn't close all my editor
files.
"Cousin Ricky" <ric### [at] yahoocom> wrote:
> I have recently upgraded POV-Ray for Windows from 3.6.1 to 3.6.2 (32-bit> edition). Batch scripts that worked perfectly fine in the past now give me> this error message:>> Commandline processing error> Only /EDIT and /RENDER may be passed to previous instance
Sounds to me like you previously had "keep single instance" disabled
("OneInstance=0" in the pvengine.ini), and installing 3.6.2 changed that
setting.
POV-Ray will not accept the /nr or /exit switches in that case if an instance of
POV-Ray is already running.
> start /w pvengine /nr /exit +a +r3 -j +igamma +ogamma10 display_gamma=1.0