Skip to content

Instance PropertyFoundationEssentials

processName

The name of the process.
var processName: String { get set }

Discussion

The process name is used to register application defaults and is used in error messages. It does not uniquely identify the process.

Warning

User defaults and other aspects of the environment might depend on the process name, so be very careful if you change it. Setting the process name in this manner is not thread safe.