Get PID of the process sending data to standand input