Calling nConvert from perl
Moderators: XnTriq, helmut, xnview
Calling nConvert from perl
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?
-
- Author of XnView
- Posts: 44449
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Calling nConvert from perl
NConvert support DWG only with cadsofttools plugins, but this plugin doesn't works very well with NConvert.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?
Pierre.