
On Fri, 2008-01-11 at 08:48 -0600, Aaron Spike wrote:
But I think we need to put debug prints in Inkscape to see what the actual command line is that inkscape generates because when I give the same command line options to a simple python script like:
We don't generate a command line anymore. It's a function call with parameter passed individually as a list. This is a direct call, so there is now shell f#$%$ing with the parameters.
So that's kinda what makes things odd to me, there is no parsing that should need to be done. Perhaps that's what the helper.exe's do in GTK +, turn everything back into command lines. I'd actually look at those to see how they handle the parameters. This may be a GTK+ win32 bug.
There must be some stray quotes somewhere. I also wonder why the temporary file is no longer the final argument to the script. I think this could screw up scripts with more primitive option parsing. It looks like the revision that I compiled here includes the .svg extension on the temp files. I never noticed that change. And lastly, can anyone tell me why "sampling" is quoted when it is passed to the script? I thought we had done something to address that.
I fixed the "over quoting" but I think that one is supposed to be quoted. Is it a string? I'm quoting all strings as they may have spaces in them.
--Ted