CodeEditApp/CodeEdit

๐Ÿž Task Execution Uses Absolute Path Instead of Relative Path

tom-ludwig opened this issue ยท 0 comments

Description

Currently, tasks are using absolute paths to determine the execution location. However, this seems unnecessary for most cases, as users typically do not specify a special path beyond the default project path. This can lead to complications and is not required for standard usage.

To Reproduce

  1. Create a Task
  2. Remove the Path Variable
  3. Execute a Command:
    • Run a command like ls or any other basic command that lists directory contents or performs a simple operation.
  4. Observe the Execution:
    • Notice that the command is executed outside of the project's directory, indicating that the default execution path is not the project root as expected.

Expected Behavior

We should consider using relative paths or defaulting to the project's root directory unless explicitly specified by the user. This change would simplify the configuration and avoid potential issues related to absolute path dependencies.

Version Information

CodeEdit: [e.g. 0.0.x-alpha.y]
macOS: [e.g. 13.2.1]
Xcode: [e.g. 14.2]

Additional Context

No response

Screenshots

No response