chmod from C.O.F.F.E.E.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 27/08/2010 at 11:51, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   11.5 
    Platform:      Mac OSX  ; 
    Language(s) :   C.O.F.F.E.E  ;

    ---------
         I'm creating a file using:

    file->Open(fname, GE_WRITE );

    And after file creation I would like to chmod the file.
    Is it possible to run system level commands from C.O.F.F.E.E. on OS X?

    Thanks!
    Chris

    Edit:
    Found GeFSetAttributes in the SDK, but it doesn't seem to work from C.O.F.F.E.E... any ideas? Am I going to have to write this into a plugin?

    Edit #2:
    Yep, looks like it's not supported in C.O.F.F.E.E.   Off to plugin-land.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 02/09/2010 at 03:09, xxxxxxxx wrote:

    Yes, changing file attributes is not possible in COFFEE.

    cheers,
    Matthias


Log in to reply