-
Notifications
You must be signed in to change notification settings - Fork 203
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
implement support in 'run
' function for running command in different working directory + switch to run
function in filetools
#4327
Conversation
…working directory
…gure' option of set_up_configuration in EasyBuildLibTest.configure helper method
…thout actually running them in dry run mode
@@ -108,7 +108,7 @@ def cache_aware_func(cmd, *args, **kwargs): | |||
|
|||
@run_cache | |||
def run(cmd, fail_on_error=True, split_stderr=False, stdin=None, env=None, | |||
hidden=False, in_dry_run=False, work_dir=None, shell=True, | |||
hidden=False, in_dry_run=False, verbose_dry_run=False, work_dir=None, shell=True, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
having both hidden
(to disable output in both trace and dry run mode) and verbose_dry_run
is necessary evil, since there are situations where we do not want trace output, but we do want to see commands that would be executed in dry run mode (primarily in get_source_tarball_from_git
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
No description provided.