GIMP:test.scm 在 运行 时出现 "unbound variable" 错误
GIMP: test.scm gets "unbound variable" error when run
当我运行这个C:\Users\dev\.gimp-2.8\scripts\test.scm script:
(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)
我做错了什么?
根据@souser12345 的提示,问题原来出在命令行上。用像这样的重音包围 *.png
:
gimp-2.8 -i -b '(test `*.png`)' -b '(gimp-quit 0)'
将得到这个输出:
batch command executed successfully
(Type any character to close this window)
当我运行这个C:\Users\dev\.gimp-2.8\scripts\test.scm script:
(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)
我做错了什么?
根据@souser12345 的提示,问题原来出在命令行上。用像这样的重音包围 *.png
:
gimp-2.8 -i -b '(test `*.png`)' -b '(gimp-quit 0)'
将得到这个输出:
batch command executed successfully
(Type any character to close this window)