executableDir

external fun executableDir(): ERROR CLASS: Symbol not found for js.promise.Promise<kotlin/String>(source)

Returns the path to the user's executable directory.

Platform-specific

  • Linux: Resolves to $XDG_BIN_HOME/../bin or $XDG_DATA_HOME/../bin or $HOME/.local/bin.

  • macOS: Not supported.

  • Windows: Not supported.

Since

1.0.0