processID

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the processID
processID()
Summary

Returns the process ID of LiveCode (or a standalone application).

Introduced1.0
OSlinux, ios, android
Platformsdesktop, server, mobile
Example
the processID
write the processID & linefeed to process someOtherProcess
Values
NameTypeDescription
return

The processID function returns a positive integer.

RelatedCommand: kill
Constant: return
Glossary: application, Windows, standalone application, return, Mac OS, process
Securityprocess
Description

Use the processID function to communicate with another application.

On Unix systems, the processID uniquely identifies the process belonging to the running application. Other processes can use the processID to address LiveCode.

The processID function does not return a meaningful value on Mac OS or Windows systems.