[fpc-pascal] Setting execute bit for a Unix file

David Copeland david.copeland at jsidata.ca
Thu Jul 31 22:22:46 CEST 2014


You could try FpSystem('chmod +x yourfilename');  // assuming the cwd is set

Dave.

On 07/31/2014 04:18 PM, Juha Manninen wrote:
> Hello
>
> How can I set a file flag (execute) using Pascal code in a Linux system?
>
> Juha
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list