|
|
When Pov 3.5 Beta4/Windows launches another process from Post_Scene_Command,
it appends \r\n to the command line. This causes problems, at least when
invoked program is written in MSVC. MSVC startup code parses command line
and puts the parameters into argc/argv, however, it doesn't strip trailing
\r\n and last argument will contain these additional characters. If it's a
filename, CreateFile or fopen will fail.
This does not depend on the number of empty lines following
Post_Scene_Command.
This doesn't happen at all on PovRay 3.1g and earlier releases.
Regards,
Tomasz Sowinski
Post a reply to this message
|
|
|
|
On Mon, 24 Sep 2001 15:08:59 +0200, Tomasz Sowinski wrote:
>When Pov 3.5 Beta4/Windows launches another process from Post_Scene_Command,
>it appends \r\n to the command line. This causes problems, at least when
>invoked program is written in MSVC. MSVC startup code parses command line
>and puts the parameters into argc/argv, however, it doesn't strip trailing
>\r\n and last argument will contain these additional characters. If it's a
>filename, CreateFile or fopen will fail.
I believe this should be fixed in the next beta, but I haven't tested it
extensively. Further tests upon receipt of beta 5 are encouraged.
--
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbf 1}hollow interior{media{emission 3-T}}}#end
Z(-x-x.2x)camera{location z*-10rotate x*90normal{bumps.02scale.05}}
Post a reply to this message
|
|