Skip to content

processing-java cannot handle paths containing spaces #1138

Open
@PhilipSharman

Description

@PhilipSharman

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions