Skip to content

Submit job via bash#931

Merged
maddenp-cu merged 4 commits into
ufs-community:mainfrom
maddenp-cu:submit-job-via-bash
Jun 15, 2026
Merged

Submit job via bash#931
maddenp-cu merged 4 commits into
ufs-community:mainfrom
maddenp-cu:submit-job-via-bash

Conversation

@maddenp-cu

Copy link
Copy Markdown
Collaborator

Synopsis

JobScheduler.submit_job runs set -o pipefail in its subprocess command to ensure that failure of the primary command (and not tee, which the primary command's output is piped to) causes the subprocess to fail. This command is supported by bash, but not by other shells, and Python defaults to using /bin/sh, which may or may not be bash.

Add support to run_shell_cmd for specifying the interpreter, and have submit_job specify bash, via a which call to find it on PATH.

Type

  • Bug fix (corrects a known issue)

Impact

  • This is a non-breaking change (existing functionality continues to work as expected)

Checklist

  • I have added myself and any co-authors to the PR's Assignees list.
  • I have reviewed the documentation and have made any updates necessitated by this change.
  • Where helpful, I have written comments in this PR's Files changed view to assist reviewers.

@maddenp-cu maddenp-cu self-assigned this Jun 13, 2026
@maddenp-cu maddenp-cu marked this pull request as ready for review June 13, 2026 16:03
@maddenp-cu maddenp-cu merged commit 4bae152 into ufs-community:main Jun 15, 2026
2 checks passed
@maddenp-cu maddenp-cu deleted the submit-job-via-bash branch June 15, 2026 14:43
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.

2 participants