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

ExecutableContainerJob: store command line output in job.output #1373

Merged
merged 8 commits into from
Mar 26, 2024

Conversation

jan-janssen
Copy link
Member

@jan-janssen jan-janssen commented Mar 13, 2024

Previously, the output of the command line was only stored in the error.out file, now it is also directly stored in the datacontainer of the job output: job.output.command_line

@@ -79,6 +79,9 @@ def write_input(self):
working_directory=self.working_directory,
)

def run_static(self):
self.storage.output.command_line = super().run_static()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would call this stdout or something like this, because when I read command_line I'd expect the command that was run, otherwise looks good to me.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the suggestion and renamed command_line to stdout.

@jan-janssen jan-janssen merged commit 32d68d9 into main Mar 26, 2024
25 checks passed
@jan-janssen jan-janssen deleted the return_commandline_output branch March 26, 2024 13:27
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 this pull request may close these issues.

None yet

2 participants