Script-Fu hanging after "Batch command successfully executed" - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP) +--- Thread: Script-Fu hanging after "Batch command successfully executed" (/Thread-Script-Fu-hanging-after-Batch-command-successfully-executed) |
Script-Fu hanging after "Batch command successfully executed" - JmurrayGa - 06-26-2020 So this is a simplified command that is having the same issue It runs the gimp-console executable but it does not seem to actually run any of the code inside -b argument. This line below simply attempts to close the gimp console window but it simply hangs at "batch command executed successfully" Any help would be appreciated! Update Below Code: C:\Users\james>gimp-console-2.10.exe -idfc -b '(gimp-quit 0)' --console-messages --verbose | quit My issue was the use of single quotes around my code in -b. I changed them to double quotes and it worked but what do I use to text qualify my function parameters? I was using double quotes but that seems to terminate the script early. RE: Script-Fu hanging after "Batch command successfully executed" - Kevin - 06-27-2020 You have to "escape" the double-quotes that are round strings by preceeding them with a back-slash -b "(function \"a string\")" -b "(gimp-quit 0)" RE: Script-Fu hanging after "Batch command successfully executed" - JmurrayGa - 06-27-2020 That was it. |