Skip to content

folder name with spaces (escape character) returns a cd error #146

@rez1coder

Description

@rez1coder

Folder names like Project One with a space in between returns this error.

/usr/bin/bash: line 1: cd: too many arguments

[Process exited 2]

This fixed it for me.

          java = {
-            'cd $dir &&',
+            'cd "$dir" &&',
            'javac $fileName &&',
            'java $fileNameWithoutExt',
          },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions