The rake command would not be executed in relation to the directory that was just changed to. This happens because each command within a workflow is executed within its own sub shell. One solution to this would be to chain each command into one single command, however project would then lose the abilty to pretty print the output. I'm unsure what would be prefered behaviour, as it's also quite nice to have isolated commands.
If you have a workflow with the two commands:
cd /some/path
rake
The
rake
command would not be executed in relation to the directory that was just changed to. This happens because each command within a workflow is executed within its own sub shell. One solution to this would be to chain each command into one single command, howeverproject
would then lose the abilty to pretty print the output. I'm unsure what would be prefered behaviour, as it's also quite nice to have isolated commands.