Antwort auf: shell() geht nicht wie erwartet

Startseite Foren Deutsches LiveCode-Forum shell() geht nicht wie erwartet Antwort auf: shell() geht nicht wie erwartet

#18192
Klaus Major
Administrator

    Ja, der absolute Pfad sollte natürlich auch funktionieren.
    Aber ich meinte das, was Hermann (-hh) vor einem Moment auf der Mailingliste gepostet hatte:

    ##You could add on startup /usr/local/bin
    ##to the LC environment variable $PATH:
    
    on startUp
     local ulb="/usr/local/bin"
     set itemdel to ":"
     if ulb is not among the items of $PATH
     then put ":"&ulb after $PATH
    end startUp