[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Running Pyhton 3 jobs on different os

Hi Werner,

no idea, if it works under Windows but I prefer for script shebangs under *ix

#!/usr/bin/env python3
(#! env python  ## should work "in principle")

maybe one could build something *ix and powershell compatible ~ `env python` ?


On 15/02/2021 09.55, Werner Koppelstätter wrote:
Hi all,

We use HTCondor with python binding and has Windows and Linux (Ubuntu) workstation in our cluster. Now we want run Python 3 jobs. The problem is that the command for Python 3 on windows systems is "python" and for Linux system "python3".

Is there a possibility to define commands depending of the OS? For example through an expression which is evaluated or a script before the job starts?

Thank you.


HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at:

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature