-
Notifications
You must be signed in to change notification settings - Fork 0
interactive shell: long running in different workspace blocks other tasks #188
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingnext major releaseplaned for the next major releaseplaned for the next major release
Description
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
workingdirpath - 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingnext major releaseplaned for the next major releaseplaned for the next major release