pass pid dir