当我运行此C:\ Users \ dev \ .gimp-2.8 \ scripts \ test.scm脚本时:
(define (test pattern))
在Windows PowerShell中使用以下命令:
gimp-2.8 -i -b '(test "*.png")' -b '(gimp-quit 0)'
我收到此错误:
batch command experienced an execution error:
Error: ( : 1) eval: unbound variable: *.png
(Type any character to close this window)
我在做什么错了?
答案 0 :(得分:2)
在@ souser12345的提示下,问题出在命令行。在*.png
周围加上诸如此类的重音:
gimp-2.8 -i -b '(test `*.png`)' -b '(gimp-quit 0)'
将获得以下输出:
batch command executed successfully
(Type any character to close this window)