Before I post my question to the list, I looked up the archives.
Good for me, because I have found the exact same question in a 2 year
old mail, unfortunately no answers.
So may I ask the same question? If anybody has information about it,
please share it. I'd like to develop scripts using gimp, and it would
be so nice to be able to debug with printing to the standard output...
Here is the question, originally from Markus Triska:
> The thing is: The "print" command ("(print "test")" ) is not working for
> me in batch-mode (Gimp 2.0.2). It does what it should on the Script-FU
> console, but shows no output when used like
> gimp -c -i -d -b '(filter-previews)' '(gimp-quit 0)'
> A more simple case: When I create this file ("testprint.scm") in
> (define (testprint)
> (print "this is a test"))
> and invoke
> gimp -c -i -d -b '(testprint)' '(gimp-quit 0)'
> I get:
> batch command: executed successfully.
> (and nothing else)
> Is this a bug?
And if it is: how does one work it around, so how to print to stdout?
Gimp-developer mailing list