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

Header and footer in script #26

Closed
wtbarnes opened this issue Jun 18, 2022 · 1 comment · Fixed by #28
Closed

Header and footer in script #26

wtbarnes opened this issue Jun 18, 2022 · 1 comment · Fixed by #28
Assignees

Comments

@wtbarnes
Copy link
Owner

In some cases, you may want to run the same action before and/or after all of your scripts. There should be an option for adding a header and footer script before and after the main script. These would be set when instantiating the environment. One possible use case for this is setting needed environment variables in your scripts.

Need to think about where the best place to do this is. These could be injected into the script itself or into the parent script.

@wtbarnes
Copy link
Owner Author

The easiest place to put this would probably be the procedure.pro file. This should also only work in the case of passing in a string, not a file.

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

Successfully merging a pull request may close this issue.

1 participant