Skip to content

Process ​

Inherits Instance.

A service: the global Process is the game's one Process.

Methods ​

  • Exit(code: number?): never
  • GetArguments(): {string}
  • GetEnvironmentVariable(name: string): string? Needs the Process permission.
  • IsElevated(): boolean
  • RunAsync(program: string, arguments: {string}?, options: {Input: string?, Directory: string?, Timeout: number?}?): {ExitCode: number, Output: string, Error: string, TimedOut: boolean} Yields. Needs the Process permission.

Inherited ​

From Instance: AddTag, AncestryChanged, Archivable, AttributeChanged, Changed, ChildAdded, ChildRemoved, ClassName, ClearAllChildren, Clone, DescendantAdded, DescendantRemoving, Destroy, Destroying, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, GetDescendants, GetFullName, GetPropertyChangedSignal, GetTags, HasTag, IsA, IsAncestorOf, IsDescendantOf, IsPropertyModified, Name, Parent, QueryDescendants, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild.

Apache License 2.0