Subprocess.getIdentifier

string getIdentifier()

On UNIX, returns the process ID as a decimal string. On Windows, returns the result of GetProcessId() also as a string. If the subprocess has terminated, this will return null.

Returns

the subprocess identifier, or null if the subprocess

has terminated