Gio.Subprocess.prototype.get_identifier

function get_identifier(): String {
    // Gjs wrapper for g_subprocess_get_identifier()
}
  

On UNIX, returns the process ID as a decimal string. On Windows, returns the result of GetProcessId() also as a string.

Returns