core.jobmon_utils ================= .. py:module:: core.jobmon_utils Functions --------- .. autoapisummary:: core.jobmon_utils.true_path Module Contents --------------- .. py:function:: true_path(file_or_dir: Optional[Union[bytes, str]] = None, executable: Optional[str] = None) -> str Get true path to file or executable. :param file_or_dir: partial file path, to be expanded as per the current user :type file_or_dir: str :param executable: the name of an executable, which will be resolved using "which" :type executable: str Specify one of the two arguments, not both.