POV-Ray : Newsgroups : povray.programming : invoking POV-Ray with spaces in the pathname Server Time
23 Dec 2024 15:33:31 EST (-0500)
  invoking POV-Ray with spaces in the pathname (Message 1 to 2 of 2)  
From: George Pantazopoulos
Subject: invoking POV-Ray with spaces in the pathname
Date: 28 Sep 2002 11:28:25
Message: <3d95ca99$1@news.povray.org>
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

From: Thorsten Froehlich
Subject: Re: invoking POV-Ray with spaces in the pathname
Date: 28 Sep 2002 14:00:39
Message: <3d95ee47@news.povray.org>
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

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