Skip to content

fix: add shebang to run_detached script - #8716

Open
natthan-pigoux wants to merge 2 commits into
DIRACGrid:integrationfrom
natthan-pigoux:fix_host_submit_job
Open

fix: add shebang to run_detached script#8716
natthan-pigoux wants to merge 2 commits into
DIRACGrid:integrationfrom
natthan-pigoux:fix_host_submit_job

Conversation

@natthan-pigoux

Copy link
Copy Markdown
Contributor

Add shebang to run_detached.sh script to run subprocess without shell=True which results as a bandit security issue.

closes #8715

Comment thread src/DIRAC/Resources/Computing/BatchSystems/Host.py Outdated
@natthan-pigoux natthan-pigoux self-assigned this Jul 29, 2026
@fstagni

fstagni commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Please check for other places where same fix might be needed, especially in the Batch System folder.

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.

[Bug]: run_detached.sh script is ran as a binary by SSHComputingElement

3 participants