At the moment there is no way to get the PID of the subprocess. This can be very useful for logging or to use external commands to interact with a process.
This would be the equivalent of https://docs.python.org/3/library/subprocess.html#subprocess.Popen.pid