joshnesbitt / project

A streamlined approach to working with multiple projects and tasks
http://rubygems.org/gems/project
MIT License
47 stars 6 forks source link

Commands are completely isolated from each other #2

Closed joshnesbitt closed 14 years ago

joshnesbitt commented 14 years ago

If you have a workflow with the two commands:

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.

joshnesbitt commented 14 years ago

ahoward/session could be the answer.

joshnesbitt commented 14 years ago

Added in 1.2.0