From Review of PR #409:
What I think we need to consider for runWithPackageManager is that we need to add logging of the executed command in ProcessContext before actually executing the process.
By default this should happen on trace level but it should be possible to configure this as parameter to run method or we can alternatively create a method for it.
Then runWithPackageManager should change that log-level to info.
A linux user cannot be blindly prompted for its root password from sudo without knowing what is actually happening and what command is to be executed.
From Review of PR #409: What I think we need to consider for runWithPackageManager is that we need to add logging of the executed command in ProcessContext before actually executing the process. By default this should happen on trace level but it should be possible to configure this as parameter to run method or we can alternatively create a method for it. Then runWithPackageManager should change that log-level to info. A linux user cannot be blindly prompted for its root password from sudo without knowing what is actually happening and what command is to be executed.