Skip to content

Commit

Permalink
fix: SSHCE, Try python3 before unversioned python
Browse files Browse the repository at this point in the history
  • Loading branch information
sfayer committed Oct 2, 2024
1 parent 4cbaf34 commit cce09c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DIRAC/Resources/Computing/SSHComputingElement.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def __executeHostCommand(self, command, options, ssh=None, host=None):
options = quote(options)

cmd = (
"bash --login -c 'python %s/execute_batch %s || python3 %s/execute_batch %s || python2 %s/execute_batch %s'"
"bash --login -c 'python3 %s/execute_batch %s || python %s/execute_batch %s || python2 %s/execute_batch %s'"
% (self.sharedArea, options, self.sharedArea, options, self.sharedArea, options)
)

Expand Down

0 comments on commit cce09c3

Please sign in to comment.