Describe the bug
if a task running in a different folder by using workingdir for long or infinite time, the whole environment is moved to this directory. this (seems) not an issue for regular execution like ctx run target.
but will be an issue while running in the interactive mode.
there we have the current targets loaded, but by trying to executing anything, contxt is trying to read the taskfile and fails.
To Reproduce
Steps to reproduce the behavior:
- create a taskfile that have an task with different
workingdir path
- for easier reproduction do not add an taskfile in this folder
- make this task long time running like an infinite loop or simple
wait
- add an other task just for testing
- start the interactive mode.
- start the task the uses the different workspace setting
- try to start the other task while the first task is still running
- see error
Expected behavior
any task should run in his own environment depending the expected path. also the interactive shell should always start from root of the project.
Describe the bug
if a task running in a different folder by using
workingdirfor long or infinite time, the whole environment is moved to this directory. this (seems) not an issue for regular execution likectx run target.but will be an issue while running in the interactive mode.
there we have the current targets loaded, but by trying to executing anything, contxt is trying to read the taskfile and fails.
To Reproduce
Steps to reproduce the behavior:
workingdirpathwaitExpected behavior
any task should run in his own environment depending the expected path. also the interactive shell should always start from root of the project.