Running Processing sketch from command line on windows

Hi,

this is the second time I try to get help for this, nobody answered, maybe cos the thread is not in a very popular category. The thread is here: https://forum.processing.org/two/discussion/20462/run-processing-command-window-fails#latest

I want to use notpad ++ as sketch editor but I'm having problems running Processing in command window.

I've correctly followed the instructions in this page: https://forum.processing.org/two/discussion/13578/notepad-and-processing-3

executing this: processing-java --sketch="$(CURRENT_DIRECTORY)" --output="$(CURRENT_DIRECTORY)/output" --force --run

but I get this error:

err is java.lang.reflect.InvocationTargetException Exception in thread "main" java.lang.NullPointerException at processing.mode.java.Commander.(Commander.java:263) at processing.mode.java.Commander.main(Commander.java:86)

I'm using the processing-3.2.3 version in a windows 10 Pro 64 bit

any clue?

Thanks

J.

Answers

  • Answer ✓

    Try running it this way:

    processing-java --sketch=%cd% --output=%cd%/output" --force --run

    That works for me. I am also using Win 10 64bit, Processing 3.2.4

    Kf

  • Thanks kfrajer, now it works fine!

Sign In or Register to comment.