Function

Dex-1Dexfind_program_in_pathSince 1.1

  • Locates the first executable named program in the user’s path.

    This runs GLib.find_program_in_path on a dedicated thread.

    Parameters

    • program: string

      the name of the executable such as "grep"

    Returns Dex.Future

    a Dex.Future that resolves to a string containing the path or rejects with error.

    1.1