Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature.
What is the current behavior? (You can also link to an open issue here)
EMBA cannot run Python scripts natively as modules.
What is the new behavior (if this is a feature change)? If possible add a screenshot.
This PR adds a new module ("S28_python_run") with the capability of running user-supplied python scripts as
modules. Related to issue Python runner module #1264.
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No. The module S28 is disabled in the default scan profile (
default-scan.emba
).In addition, when no Python scripts are manually specified, it will start and terminate without doing anything.
Other information:
This is a continuation of pull request Add module S28_python_run #1277.
As mentioned in my last commend there, I broke the Git history of my fork so badly that I had
to delete the it...
This new pull request also implements some changes I made to the logging mechanism.