|
|
I want to write a shell program to do some simple tests, and I'm having
trouble invoking POV-Ray from within a C program. I"ve tried the shell()
command, and it works if there are no spaces in the pathname. However, I"m
in Windows so I'll need to be able to deal with spaces in the pathname to
pvengine.exe. Whats the best way to invoke POV-Ray from within a C program,
even if there are spaces in the path name? I've tried an additional layer of
quotes but I just get an error message from the operating system that it
cannot find the file specified.
Thanks in advance,
George Pantazopoulos
Post a reply to this message
|
|
|
|
In article <3d95ca99$1@news.povray.org> , "George Pantazopoulos"
<the### [at] attbicom*KILLSPAM*> wrote:
> I want to write a shell program to do some simple tests, and I'm having
> trouble invoking POV-Ray from within a C program. I"ve tried the shell()
> command, and it works if there are no spaces in the pathname. However, I"m
> in Windows so I'll need to be able to deal with spaces in the pathname to
> pvengine.exe. Whats the best way to invoke POV-Ray from within a C program,
> even if there are spaces in the path name? I've tried an additional layer of
> quotes but I just get an error message from the operating system that it
> cannot find the file specified.
Read the manual and this post:
Date: Thu, 15 Aug 2002 13:19:24 +0200
From: "Thorsten Froehlich" <tho### [at] trfde>
Newsgroups: povray.windows
Subject: Re: NO whitespaces allowed in Path to ini ?
Message-ID: <3d5b8e3f$1@news.povray.org>
Xref: news.povray.org povray.windows:4737
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|