Skip to content

Commit

Permalink
sweep: DIRACGrid#7811 SSHCE, Try python3 before unversioned python
Browse files Browse the repository at this point in the history
  • Loading branch information
sfayer authored and web-flow committed Oct 2, 2024
1 parent b924d6d commit 6fa9624
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 @@ -489,7 +489,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 6fa9624

Please sign in to comment.