Search code examples
c++boostexecutableboost-filesystem

How to check if path leads to executable file?


I try to create some kind of file browser. I want to know if file under path is executable in a cross-platform way.

How to do such thing with boost::filesystem?


Solution

  • Boost doesn't have stuff about permissions, because POSIX permissions are not "crossplatform".

    Use the platform-specific APIs at your disposal as required. Sorry!