Page 1 of 1

Calling nConvert from perl

Posted: Mon Jul 12, 2004 2:33 pm
by Guest
I am trying to call nConvert from a perl script to convert an autocad "DWG" file to a tiff. Using the command line everything works fine, but if I attempt to do this from within a PERL script using the open(CONVERT, "c:\progra~1\xnview\nconvert.exe -v -in dwg -out tiff -o c:\temp\test.tif c:\temp\test.dwg |"); method the program never returns. nconvert shows in the process list and if I kill the process the perl script/ webpage returns. Any ideas?

Re: Calling nConvert from perl

Posted: Tue Jul 13, 2004 11:02 am
by xnview
Guest wrote:I am trying to call nConvert from a perl script to convert an autocad "DWG" file to a tiff. Using the command line everything works fine, but if I attempt to do this from within a PERL script using the open(CONVERT, "c:\progra~1\xnview\nconvert.exe -v -in dwg -out tiff -o c:\temp\test.tif c:\temp\test.dwg |"); method the program never returns. nconvert shows in the process list and if I kill the process the perl script/ webpage returns. Any ideas?
NConvert support DWG only with cadsofttools plugins, but this plugin doesn't works very well with NConvert.
Pierre.