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

Closed
joe-bro-1 opened this issue Dec 22, 2024 · 0 comments · Fixed by #1978
Closed

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

joe-bro-1 opened this issue Dec 22, 2024 · 0 comments · Fixed by #1978
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

@joe-bro-1 joe-bro-1 added the bug Something isn't working label Dec 22, 2024
@thecoolwinter thecoolwinter moved this from 🆕 New to 📋 Todo in CodeEdit Project Jan 9, 2025
@thecoolwinter thecoolwinter moved this from 📋 Todo to 🏃‍♂️ In Progress in CodeEdit Project Jan 29, 2025
@github-project-automation github-project-automation bot moved this from 🏃‍♂️ In Progress to 🏁 Complete in CodeEdit Project Jan 30, 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 workspace
Projects
Status: 🏁 Complete
Development

Successfully merging a pull request may close this issue.

2 participants