getPid

abstract fun getPid(): Int

获取 Shell 进程 id。 该 ID 用于唯一标识当前 shell 进程。

Return

Shell 进程 id。