Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider embedding a shell #3

Open
Arcterus opened this issue Jun 8, 2018 · 0 comments
Open

Consider embedding a shell #3

Arcterus opened this issue Jun 8, 2018 · 0 comments

Comments

@Arcterus
Copy link
Contributor

Arcterus commented Jun 8, 2018

Currently we just start up sh and give it the commands to execute one by one. We do this in order to stop the build when a command fails. However, starting a new shell for each command can lead to some surprises like cd not working between two different commands. Embedding a shell would allow us to preserve changes to the environment between commands and (presumably) still check for command failure. It also might help solve the issue of poor variable substitution when deserializing the build file.

Possible shells:

  • ion
  • cicada
  • The one we eventually write and include in MesaBox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant