':return: the PID of the process launched to process the given file
:rtype: int'

@property
def pid(self):

    if (self._process is None):
        raise AirflowException(u'Tried    to    get    PID    before    starting!')
    return self._process.pid
