Search before creating an issue
Bug Description
A recent change: b5aef3f#diff-1a8a0bb18751d0c812c7fb5666e61d3da3ee6f2247ed631c5218048f7bb93c76L108 has introduce a bug while running pilots on a SSHComputingElement.
While updating DIRAC version from 9.1.9 to 9.1.15, I got in SiteDirector logs:
2026-07-23T15:40:01,728629Z WorkloadManagement/SiteDirector/WorkloadManagement/SiteDirector [139734252766784] ERROR: Failed submission to queue Queue dirac-ce_normal:
Failed job submission: [Errno 8] Exec format error: '/home/dirac/run_detached.sh'
Indeed, since the run_detached.sh script does not contain a shebang, removing shell=True from subprocess Popen seems to execute the script as a binary not as a shell script and returns a [Errno 8] Exec format error:
Steps to Reproduce
No response
Expected Behavior
No response
Actual Behavior
No response
Environment
No response
Relevant Log Output
Additional Context
No response
Search before creating an issue
Bug Description
A recent change: b5aef3f#diff-1a8a0bb18751d0c812c7fb5666e61d3da3ee6f2247ed631c5218048f7bb93c76L108 has introduce a bug while running pilots on a SSHComputingElement.
While updating DIRAC version from 9.1.9 to 9.1.15, I got in SiteDirector logs:
Indeed, since the
run_detached.shscript does not contain a shebang, removingshell=Truefrom subprocess Popen seems to execute the script as a binary not as a shell script and returns a[Errno 8] Exec format error:Steps to Reproduce
No response
Expected Behavior
No response
Actual Behavior
No response
Environment
No response
Relevant Log Output
Additional Context
No response