According to my notes, this used to work:
processing-java --sketch='/Users/philip/Test B'
But now it gives the error Error: got unexpected extra argument (B)
.
I’ve tried escaping the spaces, like this
processing-java --sketch='/Users/philip/Test\ B'
but I get the same error.
Is there any way around this? Thanks!
quark
2
This is a guess but you might try :-
processing-java --sketch='/Users/philip/Test%20B'
Thanks for the suggestion, but I’m afraid that doesn’t work either.
quark
4
When you save a sketch with a space in the name e.g. Test B
Processing (4.4.4) replaces the space with an underscore so try
processing-java --sketch='/Users/philip/Test_B'
Oops, I made a mistake in my example. The problem occurs if the path to the sketch include a folder with spaces in the name. EG
processing-java --sketch="/Users/philip/More Sketches/Test_B" --run
gives
Error: got unexpected extra argument (Sketches/Test_B)