Skip to content
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

tasks break when the folder has a space in it #1952

Open
joe-bro-1 opened this issue Dec 22, 2024 · 0 comments
Open

tasks break when the folder has a space in it #1952

joe-bro-1 opened this issue Dec 22, 2024 · 0 comments
Labels
bug Something isn't working workspace

Comments

@joe-bro-1
Copy link

Description

when using tasks in a folder with a space in it the task fails to move to the proper directory and breaks

To Reproduce

Create a folder with a name containing a space eg "new folder",

open the folder in CodeEdit,

create a task (this can be done either via workspace settings or making the config yourself).

for demo purposes we'll create a task that just runs pwd by going to File > Workspace Settings clicking Add Task give it a name eg pwd and in Task just put pwd.

now if you run the task it will fail with errors relating to issues running cd.

this seems to be relating to the directory not escaping " " and so cd see's the second part as another argument when trying to move to our working directory.

Expected Behavior

the task should escape " " and so properly move to our working directory

Version Information

CodeEdit: Version 0.3.3-alpha (44)
macOS: 15.1.1
Xcode: 16.0 (I used the latest downloadable build)

Additional Context

No response

Screenshots

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working workspace
Projects
Status: 📋 Todo
Development

No branches or pull requests

2 participants