stdout from lisp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 
> ~/gimp-2.0/script/:
> 
> (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?

Best regards,
Baldvin Kovacs
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux