Skip to content

Running sketches in WSL fails because of Windows paths #19

@SableRaf

Description

@SableRaf

I’m trying to run Processing sketches from VS Code while using WSL (on Windows 10) as my default terminal profile. The extension currently builds a command like this:

"C:\path\to\processing\app\Processing.exe" cli --sketch="C:\path\to\extension\processing-sketch-123456\Array" --run 2>&1

But since WSL runs it inside Bash, I just get:

-bash: syntax error near unexpected token `&'

When switching back to PowerShell as the default terminal, it works fine.

Would it be possible for the extension to detect when it’s running in WSL and adjust the command/paths accordingly? If not, maybe a note in the README would help users who hit this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions