Skip to content

processing-java cannot handle paths containing spaces #1138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
PhilipSharman opened this issue Jun 7, 2025 · 0 comments
Open

processing-java cannot handle paths containing spaces #1138

PhilipSharman opened this issue Jun 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@PhilipSharman
Copy link

Most appropriate sub-area of Processing 4?

Utilities

Processing version

4.4.4.

Operating system

MacOS 11.7.10 (Big Sur)

Steps to reproduce this

  1. Install 'processing-java' (via the Tools menu).
  2. Create a 'hello world' type sketch.
  3. Put it in a folder whose path does not contain spaces.
  4. Run e.g. processing-java --sketch='/Users/philip/Temp/FolderA/hello/' --run.
  5. The sketch runs okay.
  6. Copy the sketch and put it in a folder whose path does contain a space.
  7. Run e.g. processing-java --sketch '/Users/philip/Temp/Folder B/hello/' --run.
  8. You get the error Error: got unexpected extra argument (B/hello/).

snippet

Additional context

I tried escaping the spaces in the path (e.g. processing-java --sketch '/Users/philip/Temp/Folder\ B/hello/' --run) but I get the same error.

Thanks!

Would you like to work on the issue?

No

@PhilipSharman PhilipSharman added the bug Something isn't working label Jun 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant