The answer to this situation lies in the actual use of the .pid property on the .pid object, BUT, it is present only after the start method appears on the display. This means that if you need to get the PID for the process, you first need to start the display.
source share